[MLton-commit] r4524

Wesley Terpstra MLton@mlton.org
Wed, 10 May 2006 11:12:27 -0700


not on mingw, and why use it as its only short-hard...
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/bytecode/interpret.c

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/bytecode/interpret.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/bytecode/interpret.c	2006-05-10 18:09:24 UTC (rev 4523)
+++ mlton/branches/on-20050822-x86_64-branch/bytecode/interpret.c	2006-05-10 18:12:26 UTC (rev 4524)
@@ -351,7 +351,7 @@
 #define disp(ty)                                                \
         for (i = 0; i < ty##RegI; ++i)                          \
                 fprintf (stderr, "\n" #ty "Reg[%d] = 0x%08x",   \
-                                i, (uint)(ty##Reg[i]));
+                                i, (unsigned int)(ty##Reg[i]));
 
 void displayRegs () {
         int i;
@@ -473,8 +473,8 @@
 void MLton_Bytecode_interpret (Bytecode b, Word32 codeOffset) {
         if (DEBUG or DEBUG_BYTECODE) {
                 fprintf (stderr, "MLton_Bytecode_interpret (0x%08x, %u)\n",
-                                (uint)b,
-                                (uint)codeOffset);
+                                (unsigned int)b,
+                                (unsigned int)codeOffset);
                 disassemble (b, codeOffset);
                 fprintf (stderr, "interpret starting\n");
         }