dmuratshin 9 years ago
parent
commit
04e52616e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      oxygine/src/core/ZipFileSystem.cpp

+ 1 - 1
oxygine/src/core/ZipFileSystem.cpp

@@ -371,7 +371,7 @@ namespace oxygine
 
             unsigned int read(void* dest, unsigned int size)
             {
-                if (_cpos + size > _size)
+                if (_cpos + (long)size > _size)
                     size = _size - _cpos;
 
                 unsigned int ret = file::read(_h, dest, size);