[MLton-commit] r4293

Matthew Fluet MLton@mlton.org
Fri, 6 Jan 2006 13:06:28 -0800


Extra use of (uint)
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/gc/hash-cons.c

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

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/gc/hash-cons.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/gc/hash-cons.c	2005-12-21 02:03:30 UTC (rev 4292)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/gc/hash-cons.c	2006-01-06 21:06:26 UTC (rev 4293)
@@ -122,7 +122,7 @@
   slot = (uint32_t)(mult * (uint64_t)hash) >> (32 - t->elementsLengthMaxLog2);
   probe = (1 == slot % 2) ? slot : slot - 1;
   if (DEBUG_SHARE)
-    fprintf (stderr, "probe = 0x%08x\n", (uint)probe);
+    fprintf (stderr, "probe = 0x%"PRIx32"\n", probe);
   assert (1 == probe % 2);
   numProbes = 0;
 look: