aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-iterate.c
diff options
context:
space:
mode:
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 91d9c35..0325026 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. */