diff options
author | 2010-11-16 17:25:36 +0000 | |
---|---|---|
committer | 2010-11-16 17:25:36 +0000 | |
commit | 298d9fd83318c208dc6facf419c03926d65613e0 (patch) | |
tree | 63aa775816bfa9deffe0add88511240ffb40dc4a /System/Posix/Process | |
parent | 14022b586ca6f7b878481a3a5e05c090a6e21056 (diff) |
Remove unnecessary fromIntegral calls
Diffstat (limited to 'System/Posix/Process')
-rw-r--r-- | System/Posix/Process/Internals.hs | 4 |
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) |