diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2000-07-23 10:25:06 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-07-23 10:25:06 -0600 |
commit | 683eb0e99a52c56e400f690a62236cf66ab4d981 (patch) | |
tree | 53a4b08418f74d22bc685a38db711d1b59bbf82f /gcc/bitmap.c | |
parent | 317770266dad43b3afcb7856250453f9c8cf412f (diff) | |
download | gcc-683eb0e99a52c56e400f690a62236cf66ab4d981.zip gcc-683eb0e99a52c56e400f690a62236cf66ab4d981.tar.gz gcc-683eb0e99a52c56e400f690a62236cf66ab4d981.tar.bz2 |
bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing with %p.
* bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
with %p.
* ggc-page.c (debug_print_page_list, alloc_page, free_page,
ggc_alloc): Likewise.
* bb-reorder.c (dump_scope_forest_1): Likewise.
From-SVN: r35201
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r-- | gcc/bitmap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c index d1588d8..5daba06 100644 --- a/gcc/bitmap.c +++ b/gcc/bitmap.c @@ -596,9 +596,9 @@ debug_bitmap_file (file, head) bitmap_element *ptr; fprintf (file, "\nfirst = "); - fprintf (file, HOST_PTR_PRINTF, head->first); + fprintf (file, HOST_PTR_PRINTF, (PTR) head->first); fprintf (file, " current = "); - fprintf (file, HOST_PTR_PRINTF, head->current); + fprintf (file, HOST_PTR_PRINTF, (PTR) head->current); fprintf (file, " indx = %u\n", head->indx); for (ptr = head->first; ptr; ptr = ptr->next) @@ -606,11 +606,11 @@ debug_bitmap_file (file, head) int i, j, col = 26; fprintf (file, "\t"); - fprintf (file, HOST_PTR_PRINTF, ptr); + fprintf (file, HOST_PTR_PRINTF, (PTR) ptr); fprintf (file, " next = "); - fprintf (file, HOST_PTR_PRINTF, ptr->next); + fprintf (file, HOST_PTR_PRINTF, (PTR) ptr->next); fprintf (file, " prev = "); - fprintf (file, HOST_PTR_PRINTF, ptr->prev); + fprintf (file, HOST_PTR_PRINTF, (PTR) ptr->prev); fprintf (file, " indx = %u\n\t\tbits = {", ptr->indx); for (i = 0; i < BITMAP_ELEMENT_WORDS; i++) |