fix some printf formats for 64 bits
[ghc-hetmet.git] / rts / sm / GCUtils.c
index 6a4596e..9230eb8 100644 (file)
@@ -178,7 +178,7 @@ todo_block_full (nat size, step_workspace *ws)
         {
             step *stp;
             stp = ws->step;
-            trace(TRACE_gc|DEBUG_gc, "push todo block %p (%d words), step %d, n_todos: %d", 
+            trace(TRACE_gc|DEBUG_gc, "push todo block %p (%ld words), step %d, n_todos: %d", 
                   bd->start, bd->free - bd->u.scan, stp->abs_no, stp->n_todos);
             // ToDo: use buffer_todo
             ACQUIRE_SPIN_LOCK(&stp->sync_todo);