Win32 build fix
authorIan Lynagh <igloo@earth.li>
Thu, 26 Apr 2012 22:04:05 +0000 (23:04 +0100)
committerIan Lynagh <igloo@earth.li>
Thu, 26 Apr 2012 22:04:05 +0000 (23:04 +0100)
rts/Stats.c

index 3b709bc..5605810 100644 (file)
@@ -675,7 +675,7 @@ stat_exit(int alloc)
 
            statsPrintf("%16" FMT_SizeT " MB total memory in use (%" FMT_SizeT " MB lost due to fragmentation)\n\n", 
                         peak_mblocks_allocated * MBLOCK_SIZE_W / (1024 * 1024 / sizeof(W_)),
-                        (peak_mblocks_allocated * BLOCKS_PER_MBLOCK * BLOCK_SIZE_W - hw_alloc_blocks * BLOCK_SIZE_W) / (1024 * 1024 / sizeof(W_)));
+                        (lnat)(peak_mblocks_allocated * BLOCKS_PER_MBLOCK * BLOCK_SIZE_W - hw_alloc_blocks * BLOCK_SIZE_W) / (1024 * 1024 / sizeof(W_)));
 
            /* Print garbage collections in each gen */
             statsPrintf("                                    Tot time (elapsed)  Avg pause  Max pause\n");