squelch a warning generated by generated code

svn path=/trunk/; revision=21134
This commit is contained in:
Luis Ontanon 2007-03-22 23:39:02 +00:00
parent 617b534399
commit 0006c73c8d
1 changed files with 1 additions and 1 deletions

View File

@ -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";