Compile fixes for gcc -Wall

This commit is contained in:
baldurk 2015-08-05 20:54:58 +02:00
parent 0718e45c24
commit d7c5ead6a1
12 changed files with 27 additions and 24 deletions

View file

@ -172,7 +172,7 @@ protected:
void advance()
{
++currentChar;
if (currentChar >= static_cast<int>(lengths[currentSource])) {
if (currentChar >= static_cast<size_t>(lengths[currentSource])) {
++currentSource;
if (currentSource < numSources) {
loc[currentSource].string = loc[currentSource - 1].string + 1;