aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lemon/lempar.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-03-22 23:39:02 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-03-22 23:39:02 +0000
commit0006c73c8dd300ec37bc8355753c8ccc01824a9e (patch)
treeeaba14487259cc576c2f9255bc85ba2bc9ac8ce5 /tools/lemon/lempar.c
parent617b53439925b1664542ab8325195ec4538f26f9 (diff)
squelch a warning generated by generated code
svn path=/trunk/; revision=21134
Diffstat (limited to 'tools/lemon/lempar.c')
-rw-r--r--tools/lemon/lempar.c2
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";