summaryrefslogtreecommitdiff
path: root/gcc/ggc-page.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-30 22:28:43 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-30 22:28:43 +0000
commit8b863f577b5830c1f72dcce6c1c5788ee31affda (patch)
tree3f6d71943d76c090980cf6d0fdf0c35875a06b61 /gcc/ggc-page.c
parent5a1acad9501c4a544f501004495507534e67a9d1 (diff)
downloadgcc-8b863f577b5830c1f72dcce6c1c5788ee31affda.tar.gz
* lcm.c (compute_laterin): Cast bb->aux to size_t not int.
(compute_nearerout): Likewise. * ggc-page.c (ggc_page_print_statistics): Explicitly cast size_t to unsigned long for formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30728 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r--gcc/ggc-page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c
index 2497f55f069..7687cef0ba3 100644
--- a/gcc/ggc-page.c
+++ b/gcc/ggc-page.c
@@ -1192,8 +1192,8 @@ ggc_page_print_statistics ()
in_use +=
(OBJECTS_PER_PAGE (i) - p->num_free_objects) * (1 << i);
}
- fprintf (stderr, "%-3d %-15lu %-15u\n", i,
- (unsigned long) allocated, in_use);
+ fprintf (stderr, "%-3d %-15lu %-15lu\n", i,
+ (unsigned long) allocated, (unsigned long) in_use);
}
/* Print out some global information. */