Commit 66b4c3ad by Richard Kenner

(print_node): Use HOST_WIDE_INT instead of int when casting pointers

to integers.

From-SVN: r1751
parent c4fd10e7
...@@ -205,7 +205,7 @@ print_node (file, prefix, node, indent) ...@@ -205,7 +205,7 @@ print_node (file, prefix, node, indent)
return; 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. */ /* If node is in the table, just mention its address. */
for (b = table[hash]; b; b = b->next) for (b = table[hash]; b; b = b->next)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment