diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-04-24 16:45:57 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-04-24 16:45:57 -0400 |
commit | ea64849ec1e99b0a070e33de7b22d9b6c82a0acd (patch) | |
tree | 7aa1454087164719df90098f6ef2a9534bbd2e69 /gcc | |
parent | 76fd7c28625e776bb3bfb9620c644a42e19088e6 (diff) | |
download | gcc-ea64849ec1e99b0a070e33de7b22d9b6c82a0acd.zip gcc-ea64849ec1e99b0a070e33de7b22d9b6c82a0acd.tar.gz gcc-ea64849ec1e99b0a070e33de7b22d9b6c82a0acd.tar.bz2 |
(forget_protocol_qualifiers): Cast enums to int before comparing.
From-SVN: r4211
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-lex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 594453d..f4ab73c 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -298,7 +298,8 @@ forget_protocol_qualifiers () int i, n = sizeof wordlist / sizeof (struct resword); for (i = 0; i < n; i++) - if (wordlist[i].rid >= RID_IN && wordlist[i].rid <= RID_ONEWAY) + if ((int) wordlist[i].rid >= (int) RID_IN + && (int) wordlist[i].rid <= (int) RID_ONEWAY) wordlist[i].name = ""; } |