plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 0ace33a41539dedfee1bd73e124fd9ca574f43b1
parent 586abfa4f5a00e695b2a7fbbeacaee8d5cefc7e0
Author: rsc <devnull@localhost>
Date:   Thu, 29 Dec 2005 20:57:29 +0000

remove unnecessary int casts

Diffstat:
Mlib/lex.ncform | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/lex.ncform b/lib/lex.ncform @@ -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");