summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rsclex.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-07-04 19:58:12 +0200
committerMichael Stahl <mstahl@redhat.com>2013-07-04 20:08:57 +0200
commitf9075eb5ccb79c4338fb6230dd898f98a02934fd (patch)
tree5794e68b54f40f17ae6a69f3d5f2c7a69461a643 /rsc/source/parser/rsclex.cxx
parent33ff399d7211417f9991161579acbca8d8a2c67f (diff)
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
Diffstat (limited to 'rsc/source/parser/rsclex.cxx')
-rw-r--r--rsc/source/parser/rsclex.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx
index 0f24556dcd4a..b4a23f0a0bf5 100644
--- a/rsc/source/parser/rsclex.cxx
+++ b/rsc/source/parser/rsclex.cxx
@@ -151,7 +151,8 @@ int MakeToken( YYSTYPE * pTokenVal )
break;
};
- if( c == pFI->IsEof() )
+ // FIXME: wtf is this supposed to do?
+ if( (c != 0) == pFI->IsEof() )
{
return( 0 );
}