Fix a warning on Windows
authorIan Lynagh <igloo@earth.li>
Fri, 24 Jul 2009 22:12:44 +0000 (22:12 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 24 Jul 2009 22:12:44 +0000 (22:12 +0000)
rts/RtsUtils.c

index 6906619..ed082a3 100644 (file)
@@ -111,7 +111,7 @@ shutdownAllocator(void)
         if (a == NULL) return;
         IF_DEBUG(sanity,
                  debugBelch("Warning: %ld bytes at %p still allocated at shutdown\n",
-                            a->len, a->addr);)
+                            (long)a->len, a->addr);)
         prev = a;
     }
 }