From: Simon Marlow Date: Wed, 23 Sep 2009 12:50:59 +0000 (+0000) Subject: fix warnings X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=0576f0601cc48aeaa5b2efa33a92bb57f514e9c2 fix warnings --- diff --git a/rts/Ticky.c b/rts/Ticky.c index ff700df..75aa4b1 100644 --- a/rts/Ticky.c +++ b/rts/Ticky.c @@ -586,11 +586,11 @@ printRegisteredCounterInfo (FILE *tf) /* Function name at the end so it doesn't mess up the tabulation */ for (p = ticky_entry_ctrs; p != NULL; p = p->link) { - fprintf(tf, "%11ld%11ld %6zu%6zu %-11s%-30s", + fprintf(tf, "%11ld%11ld %6lu%6lu %-11s%-30s", p->entry_count, p->allocs, - p->arity, - p->stk_args, + (unsigned long)p->arity, + (unsigned long)p->stk_args, p->arg_kinds, p->str);