aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3c43d17..8b47cdb 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -205,7 +205,7 @@ print_node (file, prefix, node, indent)
return;
}
- hash = ((int) node & ~(1 << (HOST_BITS_PER_INT - 1))) % HASH_SIZE;
+ hash = ((HOST_WIDE_INT) node & ~(1 << (HOST_BITS_PER_INT - 1))) % HASH_SIZE;
/* If node is in the table, just mention its address. */
for (b = table[hash]; b; b = b->next)