Remove a redundant fromIntegral
authorIan Lynagh <igloo@earth.li>
Sat, 20 Nov 2010 18:58:37 +0000 (18:58 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 20 Nov 2010 18:58:37 +0000 (18:58 +0000)
GHC/Conc/Windows.hs

index 14139b7..b750185 100644 (file)
@@ -104,7 +104,7 @@ threadDelay :: Int -> IO ()
 threadDelay time
   | threaded  = waitForDelayEvent time
   | otherwise = IO $ \s ->
-        case fromIntegral time of { I# time# ->
+        case time of { I# time# ->
         case delay# time# s of { s' -> (# s', () #)
         }}