Fix a warning on Windows
[ghc-hetmet.git] / 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;
     }
 }