Compile fixes for gcc -Wall
This commit is contained in:
parent
0718e45c24
commit
d7c5ead6a1
12 changed files with 27 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue