X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FGCUtils.c;h=4432ad6ce5181f893b3ff0b2c27d422464b08201;hb=d9f20043f1bff6d3731e62de4db4d98fcff57498;hp=6a4596e0e2a4de3d8096bf0b67fbf0da43969b46;hpb=aa8efe32ce8eebc2fe25f13a11cf214cdcac229f;p=ghc-hetmet.git diff --git a/rts/sm/GCUtils.c b/rts/sm/GCUtils.c index 6a4596e..4432ad6 100644 --- a/rts/sm/GCUtils.c +++ b/rts/sm/GCUtils.c @@ -178,8 +178,9 @@ 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", - bd->start, bd->free - bd->u.scan, stp->abs_no, stp->n_todos); + trace(TRACE_gc|DEBUG_gc, "push todo block %p (%ld words), step %d, n_todos: %d", + bd->start, (unsigned long)(bd->free - bd->u.scan), + stp->abs_no, stp->n_todos); // ToDo: use buffer_todo ACQUIRE_SPIN_LOCK(&stp->sync_todo); if (stp->todos_last == NULL) {