summaryrefslogtreecommitdiff
path: root/rts/Ticky.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-09-23 12:50:59 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-09-23 12:50:59 +0000
commit0576f0601cc48aeaa5b2efa33a92bb57f514e9c2 (patch)
tree17e290ddb2e3ce2ba89322031f306b4639b838d4 /rts/Ticky.c
parent91a804680cfc5cb3894d996b9c7fb28b50180cdb (diff)
downloadhaskell-0576f0601cc48aeaa5b2efa33a92bb57f514e9c2.tar.gz
fix warnings
Diffstat (limited to 'rts/Ticky.c')
-rw-r--r--rts/Ticky.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/Ticky.c b/rts/Ticky.c
index ff700df234..75aa4b1022 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);