[MLton-commit] r4544

Stephen Weeks MLton@mlton.org
Mon, 15 May 2006 18:51:44 -0700


Fixed type warning.

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

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

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

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/gc/generational.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/gc/generational.c	2006-05-16 01:50:24 UTC (rev 4543)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/gc/generational.c	2006-05-16 01:51:43 UTC (rev 4544)
@@ -45,7 +45,7 @@
   return (size_t)i << CARD_SIZE_LOG2;
 }
 GC_cardMapElem *pointerToCardMapAddr (GC_state s, pointer p) {
-  pointer res;
+  GC_cardMapElem *res;
   
   res = &s->generationalMaps.cardMapAbsolute[pointerToCardMapIndexAbsolute (p)];
   if (DEBUG_CARD_MARKING)