diff options
Diffstat (limited to 'src/fs/virtfs/virtfszip.cpp')
-rw-r--r-- | src/fs/virtfs/virtfszip.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/virtfs/virtfszip.cpp b/src/fs/virtfs/virtfszip.cpp index 8999cb54c..f2cacc34f 100644 --- a/src/fs/virtfs/virtfszip.cpp +++ b/src/fs/virtfs/virtfszip.cpp @@ -277,8 +277,8 @@ namespace VirtFsZip reportAlways("VirtFsZip::read buffer is null"); return 0; } - const uint32_t pos = file->mPos; - const uint32_t sz = file->mSize; + const uint32_t pos = CAST_S32(file->mPos); + const uint32_t sz = CAST_S32(file->mSize); // if outside of buffer, return if (pos >= sz) return 0; |