mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 02:26:29 +03:00
Removed a warning.
--HG-- branch : dev-2.1
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user