summaryrefslogtreecommitdiff
path: root/gcc/ggc-simple.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-25 18:25:14 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-25 18:25:14 +0000
commited8b73b3b56c2a856a921c72da5eeaf95b1b1c97 (patch)
treed8165f5bc669261ce5eebbf2d4fcec93e18a1858 /gcc/ggc-simple.c
parente5c8f08242105ebcd19a497c9776f2449ed385bc (diff)
downloadgcc-ed8b73b3b56c2a856a921c72da5eeaf95b1b1c97.tar.gz
* ggc-simple.c (debug_ggc_tree): Add PTR cast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61794 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-simple.c')
-rw-r--r--gcc/ggc-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c
index 65bc1b64839..9964b891e0d 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);