projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4fd10e
)
(print_node): Use HOST_WIDE_INT instead of int when casting pointers
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 3 Aug 1992 01:39:37 +0000
(21:39 -0400)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/gcc/print-tree.c
b/gcc/print-tree.c
index 3c43d1729f9220d12b6e51ebdec00d034177c18b..8b47cdb9d7bab0a7af75ec1829d50b8e48a0636f 100644
(file)
--- 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)