diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-03-22 23:39:02 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-03-22 23:39:02 +0000 |
commit | 0006c73c8dd300ec37bc8355753c8ccc01824a9e (patch) | |
tree | eaba14487259cc576c2f9255bc85ba2bc9ac8ce5 | |
parent | 617b53439925b1664542ab8325195ec4538f26f9 (diff) | |
download | wireshark-0006c73c8dd300ec37bc8355753c8ccc01824a9e.tar.gz |
squelch a warning generated by generated code
svn path=/trunk/; revision=21134
-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"; |