From: Richard Stallman Date: Mon, 29 Mar 1993 18:57:45 +0000 (+0000) Subject: (collect_iterators): Cast tree code to int for indexing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4135fa5a2a9aced4c5564ff5523af7a66144f6b;p=gcc.git (collect_iterators): Cast tree code to int for indexing. From-SVN: r3913 --- 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. */