(print_node): Use HOST_WIDE_INT instead of int when casting pointers
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 3 Aug 1992 01:39:37 +0000 (21:39 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 3 Aug 1992 01:39:37 +0000 (21:39 -0400)
to integers.

From-SVN: r1751

gcc/print-tree.c

index 3c43d1729f9220d12b6e51ebdec00d034177c18b..8b47cdb9d7bab0a7af75ec1829d50b8e48a0636f 100644 (file)
@@ -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)