From 0576f0601cc48aeaa5b2efa33a92bb57f514e9c2 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 23 Sep 2009 12:50:59 +0000 Subject: [PATCH] fix warnings --- rts/Ticky.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 1.7.10.4