tremove unnecessary int casts - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 0ace33a41539dedfee1bd73e124fd9ca574f43b1 (DIR) parent 586abfa4f5a00e695b2a7fbbeacaee8d5cefc7e0 (HTM) Author: rsc <devnull@localhost> Date: Thu, 29 Dec 2005 20:57:29 +0000 remove unnecessary int casts Diffstat: M lib/lex.ncform | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/lib/lex.ncform b/lib/lex.ncform t@@ -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 */ t@@ -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");