squelch a warning generated by generated code
svn path=/trunk/; revision=21134
This commit is contained in:
parent
617b534399
commit
0006c73c8d
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue