* ggc-simple.c (debug_ggc_tree): Add PTR cast.
authorKelley Cook <kelleycook@comcast.net>
Sat, 25 Jan 2003 18:25:14 +0000 (18:25 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 25 Jan 2003 18:25:14 +0000 (10:25 -0800)
From-SVN: r61794

gcc/ChangeLog
gcc/ggc-simple.c

index efffdb45d1ac1fd0917239cf7c67069cd063d3cb..12a9ec2d8ce2a46472c6e66d73400aac3e0c43b0 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-25  Kelley Cook <kelleycook@comcast.net>
+
+       * ggc-simple.c (debug_ggc_tree): Add PTR cast.
+
 2003-01-25  Segher Boessenkool  <segher@koffie.nl>
 
        * bitmap.h (BITMAP_WORD): New typedef: fundamental storage
index 65bc1b64839ce70a513b45d2afebd438ab1f14d9..9964b891e0df83696abc011cc8b8f080d208e5f4 100644 (file)
@@ -413,7 +413,7 @@ debug_ggc_tree (p, indent)
 
   for (i = 0; i < indent; ++i)
     putc (' ', stderr);
-  fprintf (stderr, "%lx %p\n", (unsigned long)PTR_KEY (p), p);
+  fprintf (stderr, "%lx %p\n", (unsigned long)PTR_KEY (p), (PTR) p);
 
   if (p->sub[1])
     debug_ggc_tree (p->sub[1], indent + 1);