aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Process
diff options
context:
space:
mode:
authorGravatar simonpj@microsoft.com <unknown>2010-11-16 17:25:36 +0000
committerGravatar simonpj@microsoft.com <unknown>2010-11-16 17:25:36 +0000
commit298d9fd83318c208dc6facf419c03926d65613e0 (patch)
tree63aa775816bfa9deffe0add88511240ffb40dc4a /System/Posix/Process
parent14022b586ca6f7b878481a3a5e05c090a6e21056 (diff)
Remove unnecessary fromIntegral calls
Diffstat (limited to 'System/Posix/Process')
-rw-r--r--System/Posix/Process/Internals.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/System/Posix/Process/Internals.hs b/System/Posix/Process/Internals.hs
index f4c1554..26f8ce5 100644
--- a/System/Posix/Process/Internals.hs
+++ b/System/Posix/Process/Internals.hs
@@ -34,12 +34,12 @@ decipherWaitStatus wstat =
if c_WIFSIGNALED wstat /= 0
then do
let termsig = c_WTERMSIG wstat
- return (Terminated (fromIntegral termsig))
+ return (Terminated termsig)
else do
if c_WIFSTOPPED wstat /= 0
then do
let stopsig = c_WSTOPSIG wstat
- return (Stopped (fromIntegral stopsig))
+ return (Stopped stopsig)
else do
ioError (mkIOError illegalOperationErrorType
"waitStatus" Nothing Nothing)