mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
remove unnecessary int casts
This commit is contained in:
parent
586abfa4f5
commit
0ace33a415
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ yylook(void){
|
|||
}
|
||||
# endif
|
||||
yyr = yyt;
|
||||
if ( (int)yyt > (int)yycrank){
|
||||
if (yyt > yycrank){
|
||||
yyt = yyr + yych;
|
||||
if (yyt <= yytop && yyt->verify+yysvec == yystate){
|
||||
if(yyt->advance+yysvec == YYLERR) /* error transitions */
|
||||
|
@ -66,7 +66,7 @@ yylook(void){
|
|||
}
|
||||
}
|
||||
# ifdef YYOPTIM
|
||||
else if((int)yyt < (int)yycrank) { /* r < yycrank */
|
||||
else if(yyt < yycrank) { /* r < yycrank */
|
||||
yyt = yyr = yycrank+(yycrank-yyt);
|
||||
# ifdef LEXDEBUG
|
||||
if(debug)fprintf(yyout,"compressed state\n");
|
||||
|
|
Loading…
Reference in a new issue