From 0ace33a41539dedfee1bd73e124fd9ca574f43b1 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 29 Dec 2005 20:57:29 +0000 Subject: remove unnecessary int casts --- lib/lex.ncform | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/lex.ncform b/lib/lex.ncform index c01a557d..772bd7dc 100644 --- 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"); -- cgit v1.2.3