projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ia32: fix overly conservative upper_bits_clean (by avoiding undefined behaviour)
[libfirm]
/
ir
/
stat
/
stat_dmp.c
diff --git
a/ir/stat/stat_dmp.c
b/ir/stat/stat_dmp.c
index
ff06543
..
f405681
100644
(file)
--- a/
ir/stat/stat_dmp.c
+++ b/
ir/stat/stat_dmp.c
@@
-652,7
+652,8
@@
static void dump_tbl_line(const distrib_entry_t *entry, void *env)
{
dumper_t *dmp = (dumper_t*)env;
- fprintf(dmp->f, "%d : %u\n", PTR_TO_INT(entry->object), cnt_to_uint(&entry->cnt));
+ fprintf(dmp->f, "%ld : %u\n", (long int)PTR_TO_INT(entry->object),
+ cnt_to_uint(&entry->cnt));
} /* dump_tbl_line */
/**