Commit 04e3a092 authored by Ian Lynagh's avatar Ian Lynagh

Remove an unnecessary fromIntegral

parent 4c6bc7fa
......@@ -147,7 +147,7 @@ flushConsole h =
"handle is not a file descriptor" Nothing Nothing
Just fd -> do
throwErrnoIfMinus1Retry_ "flushConsole" $
flush_console_fd (fromIntegral (fdFD fd))
flush_console_fd (fdFD fd)
foreign import ccall unsafe "consUtils.h flush_input_console__"
flush_console_fd :: CInt -> IO CInt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment