diff options
author | Kelley Cook <kelleycook@comcast.net> | 2003-01-25 18:25:14 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-01-25 10:25:14 -0800 |
commit | 3900a23b3b6c2bf8608bf3aeb799de6504ddd561 (patch) | |
tree | d8165f5bc669261ce5eebbf2d4fcec93e18a1858 /gcc | |
parent | 72e42e26cb760d23353bca4fcee688979d06270a (diff) | |
download | gcc-3900a23b3b6c2bf8608bf3aeb799de6504ddd561.zip gcc-3900a23b3b6c2bf8608bf3aeb799de6504ddd561.tar.gz gcc-3900a23b3b6c2bf8608bf3aeb799de6504ddd561.tar.bz2 |
* ggc-simple.c (debug_ggc_tree): Add PTR cast.
From-SVN: r61794
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ggc-simple.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index efffdb4..12a9ec2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c index 65bc1b6..9964b89 100644 --- a/gcc/ggc-simple.c +++ b/gcc/ggc-simple.c @@ -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); |