aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index 6aa6d4b..6ce693e4 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -477,7 +477,8 @@ lex (pfile, skip_evaluation, token)
/* Fall through. */
default:
- if ((token->type > CPP_EQ && token->type < CPP_PLUS_EQ)
+ if (((int) token->type > (int) CPP_EQ
+ && (int) token->type < (int) CPP_PLUS_EQ)
|| token->type == CPP_EOF)
{
op.op = token->type;