X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FTrace.c;h=70f4a397422dfd108869fcac2ac171700184550e;hp=e472c5ade78f3f56f10a6118d512a83ec4f0d645;hb=HEAD;hpb=e8832eb9f05ca46d9315250c3baf7010eb0630a4 diff --git a/rts/Trace.c b/rts/Trace.c index e472c5a..70f4a39 100644 --- a/rts/Trace.c +++ b/rts/Trace.c @@ -267,16 +267,18 @@ void traceCapsetModify_ (EventTypeNum tag, tracePreface(); switch (tag) { case EVENT_CAPSET_CREATE: // (capset, capset_type) - debugBelch("created capset %d of type %d\n", capset, other); + debugBelch("created capset %lu of type %d\n", (lnat)capset, (int)other); break; case EVENT_CAPSET_DELETE: // (capset) - debugBelch("deleted capset %d\n", capset); + debugBelch("deleted capset %lu\n", (lnat)capset); break; case EVENT_CAPSET_ASSIGN_CAP: // (capset, capno) - debugBelch("assigned cap %d to capset %d\n", other, capset); + debugBelch("assigned cap %lu to capset %lu\n", + (lnat)other, (lnat)capset); break; case EVENT_CAPSET_REMOVE_CAP: // (capset, capno) - debugBelch("removed cap %d from capset %d\n", other, capset); + debugBelch("removed cap %lu from capset %lu\n", + (lnat)other, (lnat)capset); break; } RELEASE_LOCK(&trace_utx);