projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
98880e2
)
Remove an unnecessary fromIntegral
author
Ian Lynagh
<igloo@earth.li>
Sat, 20 Nov 2010 19:10:52 +0000
(19:10 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 20 Nov 2010 19:10:52 +0000
(19:10 +0000)
GHC/ConsoleHandler.hs
patch
|
blob
|
history
diff --git
a/GHC/ConsoleHandler.hs
b/GHC/ConsoleHandler.hs
index
abc2458
..
1d3c12f
100644
(file)
--- a/
GHC/ConsoleHandler.hs
+++ b/
GHC/ConsoleHandler.hs
@@
-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