From: Ian Lynagh Date: Wed, 1 Jun 2011 00:07:01 +0000 (+0100) Subject: Fix a warning in DEBUG code X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=02c4f41730b234728a408bbf29607d0345d2b481 Fix a warning in DEBUG code --- diff --git a/rts/Trace.c b/rts/Trace.c index 58f77ed..70f4a39 100644 --- a/rts/Trace.c +++ b/rts/Trace.c @@ -267,7 +267,7 @@ void traceCapsetModify_ (EventTypeNum tag, tracePreface(); switch (tag) { case EVENT_CAPSET_CREATE: // (capset, capset_type) - debugBelch("created capset %lu of type %d\n", (lnat)capset, other); + debugBelch("created capset %lu of type %d\n", (lnat)capset, (int)other); break; case EVENT_CAPSET_DELETE: // (capset) debugBelch("deleted capset %lu\n", (lnat)capset);