summaryrefslogtreecommitdiff
path: root/gcc/c-iterate.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-03-29 18:57:45 +0000
committerRichard Stallman <rms@gnu.org>1993-03-29 18:57:45 +0000
commite4135fa5a2a9aced4c5564ff5523af7a66144f6b (patch)
tree5b63a1bf7a865eed5524321020708540397a6076 /gcc/c-iterate.c
parent96c822324894d7606144012d651b76d63ea465ee (diff)
downloadgcc-e4135fa5a2a9aced4c5564ff5523af7a66144f6b.tar.gz
(collect_iterators): Cast tree code to int for indexing.
From-SVN: r3913
Diffstat (limited to 'gcc/c-iterate.c')
-rw-r--r--gcc/c-iterate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-iterate.c b/gcc/c-iterate.c
index 91d9c3598f7..0325026fdc5 100644
--- a/gcc/c-iterate.c
+++ b/gcc/c-iterate.c
@@ -223,7 +223,7 @@ collect_iterators (exp, list)
case 'e':
case 'r':
{
- int num_args = tree_code_length[TREE_CODE (exp)];
+ int num_args = tree_code_length[(int) TREE_CODE (exp)];
int i;
/* Some tree codes have RTL, not trees, as operands. */