aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-page.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-11-30 14:28:43 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-11-30 14:28:43 -0800
commite5b7ca327d3df06a69998bd72ae2cccad3759d25 (patch)
tree3f6d71943d76c090980cf6d0fdf0c35875a06b61 /gcc/ggc-page.c
parente48addeebcc08efa9cd2a13fd2e70e2c92db26d8 (diff)
downloadgcc-e5b7ca327d3df06a69998bd72ae2cccad3759d25.zip
gcc-e5b7ca327d3df06a69998bd72ae2cccad3759d25.tar.gz
gcc-e5b7ca327d3df06a69998bd72ae2cccad3759d25.tar.bz2
lcm.c (compute_laterin): Cast bb->aux to size_t not int.
* 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. From-SVN: r30728
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 2497f55..7687cef 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. */