aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index b12d1f3..67bb874 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -255,7 +255,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
/* Allow this function to be called if the table is not there. */
if (table)
{
- hash = ((unsigned long) node) % HASH_SIZE;
+ hash = ((uintptr_t) node) % HASH_SIZE;
/* If node is in the table, just mention its address. */
for (b = table[hash]; b; b = b->next)