fixed emply buffer stream write, removed some cast warnings.

This commit is contained in:
Marco Di Benedetto
2018-03-19 18:22:27 +01:00
parent 3390185270
commit 9d813a48b0
9 changed files with 57 additions and 57 deletions

View File

@@ -1076,8 +1076,8 @@ std::string XFileParser::GetNextToken() {
return s;
}
len = ReadBinDWord();
const int bounds( mEnd - mP );
const int iLen( len );
const int bounds = int( mEnd - mP );
const int iLen = int( len );
if ( iLen < 0 ) {
return s;
}