Windows build fix
authorSimon Marlow <marlowsd@gmail.com>
Mon, 3 Aug 2009 14:49:31 +0000 (14:49 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 3 Aug 2009 14:49:31 +0000 (14:49 +0000)
compiler/ghci/ByteCodeGen.lhs

index d92e7f8..947382e 100644 (file)
@@ -1034,7 +1034,7 @@ generateCCall d0 s p (CCallSpec target cconv _) fn args_r_to_l
                       stdcall_adj_target
 #ifdef mingw32_TARGET_OS
                           | StdCallConv <- cconv
-                          = let size = a_reps_sizeW * wORD_SIZE in
+                          = let size = fromIntegral a_reps_sizeW * wORD_SIZE in
                             mkFastString (unpackFS target ++ '@':show size)
 #endif
                           | otherwise