Building: Fix a couple of new warnings.

This commit is contained in:
John Kessenich 2015-07-18 11:25:54 -06:00
parent 2b4b9bd65b
commit f4673162b7
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ public:
// Make sure we do not read off the end of a string.
// N.B. Sources can have a length of 0.
int sourceToRead = currentSource;
int charToRead = currentChar;
size_t charToRead = currentChar;
while(charToRead >= lengths[sourceToRead]) {
charToRead = 0;
sourceToRead += 1;