diff options
Diffstat (limited to 'tools/lemon')
-rw-r--r-- | tools/lemon/lempar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lemon/lempar.c b/tools/lemon/lempar.c index e3ab97a9c5..174ba6fe66 100644 --- a/tools/lemon/lempar.c +++ b/tools/lemon/lempar.c @@ -230,7 +230,7 @@ static const char *const yyRuleName[] = { */ const char *ParseTokenName(int tokenType){ #ifndef NDEBUG - if( tokenType>0 && tokenType<(sizeof(yyTokenName)/sizeof(yyTokenName[0])) ){ + if( tokenType>0 && tokenType<(int)(sizeof(yyTokenName)/sizeof(yyTokenName[0])) ){ return yyTokenName[tokenType]; }else{ return "Unknown"; |