warning C4805 unsafe mixture of type int and type bool

It is a mystery what this is supposed to do, but rsc is sort of going
away in the mid-term anyway so who cares...

Change-Id: If1c1b8216c0429909c0571b3360b6dca97f265c4
This commit is contained in:
Michael Stahl
2013-07-04 19:58:12 +02:00
parent 33ff399d72
commit f9075eb5cc

View File

@@ -151,7 +151,8 @@ int MakeToken( YYSTYPE * pTokenVal )
break; break;
}; };
if( c == pFI->IsEof() ) // FIXME: wtf is this supposed to do?
if( (c != 0) == pFI->IsEof() )
{ {
return( 0 ); return( 0 );
} }