[MLton-commit] r5742
    jlouis at mlton.org 
    jlouis at mlton.org
       
    Sun Jul  8 13:21:13 PDT 2007
    
    
  
Plug a 32/64 problem on LP64 by using a size_t correctly when doing syscalls.
----------------------------------------------------------------------
U   mlton/trunk/runtime/platform/sysctl.c
----------------------------------------------------------------------
Modified: mlton/trunk/runtime/platform/sysctl.c
===================================================================
--- mlton/trunk/runtime/platform/sysctl.c	2007-07-08 20:21:10 UTC (rev 5741)
+++ mlton/trunk/runtime/platform/sysctl.c	2007-07-08 20:21:12 UTC (rev 5742)
@@ -12,7 +12,7 @@
 }
 
 size_t GC_totalRam (void) {
-  int physMem;
+  size_t physMem;
   size_t len;
   int mib[2];
 
    
    
More information about the MLton-commit
mailing list