aboutsummaryrefslogtreecommitdiff
path: root/lib/lex.ncform
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-12-29 20:57:29 +0000
committerrsc <devnull@localhost>2005-12-29 20:57:29 +0000
commit0ace33a41539dedfee1bd73e124fd9ca574f43b1 (patch)
treeaacbcf3266e160c7bf2047bab4c4e985dd6696f6 /lib/lex.ncform
parent586abfa4f5a00e695b2a7fbbeacaee8d5cefc7e0 (diff)
downloadplan9port-0ace33a41539dedfee1bd73e124fd9ca574f43b1.tar.gz
plan9port-0ace33a41539dedfee1bd73e124fd9ca574f43b1.tar.bz2
plan9port-0ace33a41539dedfee1bd73e124fd9ca574f43b1.zip
remove unnecessary int casts
Diffstat (limited to 'lib/lex.ncform')
-rw-r--r--lib/lex.ncform4
1 files changed, 2 insertions, 2 deletions
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");