From: Richard Kenner Date: Mon, 3 Aug 1992 01:39:37 +0000 (-0400) Subject: (print_node): Use HOST_WIDE_INT instead of int when casting pointers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66b4c3adf7d73dad960094c238ed41403992faed;p=gcc.git (print_node): Use HOST_WIDE_INT instead of int when casting pointers to integers. From-SVN: r1751 --- diff --git a/gcc/print-tree.c b/gcc/print-tree.c index 3c43d1729f9..8b47cdb9d7b 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)