Commit ea64849e by Richard Kenner

(forget_protocol_qualifiers): Cast enums to int before comparing.

From-SVN: r4211
parent 76fd7c28
...@@ -298,7 +298,8 @@ forget_protocol_qualifiers () ...@@ -298,7 +298,8 @@ forget_protocol_qualifiers ()
int i, n = sizeof wordlist / sizeof (struct resword); int i, n = sizeof wordlist / sizeof (struct resword);
for (i = 0; i < n; i++) 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 = ""; wordlist[i].name = "";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment