From: Ian Lynagh Date: Sat, 20 Nov 2010 19:10:52 +0000 (+0000) Subject: Remove an unnecessary fromIntegral X-Git-Url: http://git.megacz.com/?p=ghc-base.git;a=commitdiff_plain;h=956b49e2c59b31eaff9d6e627c68cd440cb17d4b Remove an unnecessary fromIntegral --- diff --git a/GHC/ConsoleHandler.hs b/GHC/ConsoleHandler.hs index abc2458..1d3c12f 100644 --- 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