projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91a8046
)
fix warnings
author
Simon Marlow
<marlowsd@gmail.com>
Wed, 23 Sep 2009 12:50:59 +0000
(12:50 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 23 Sep 2009 12:50:59 +0000
(12:50 +0000)
rts/Ticky.c
patch
|
blob
|
history
diff --git
a/rts/Ticky.c
b/rts/Ticky.c
index
ff700df
..
75aa4b1
100644
(file)
--- 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);