Removed a warning.

--HG--
branch : dev-2.1
This commit is contained in:
Martín Lucas Golini
2018-01-20 23:35:26 -03:00
parent cadfcde531
commit 65e7c3af6a

View File

@@ -37,7 +37,7 @@ ios_size IOStreamPak::read( char * data, ios_size size ) {
}
ios_size IOStreamPak::write( const char * data, ios_size size) {
if ( isOpen() && mPos + size < mEntry.file_length ) {
if ( isOpen() && static_cast<Uint32>( mPos ) + size < mEntry.file_length ) {
mFile->write( data, size );
}