diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-14 19:17:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-14 19:17:03 +0300 |
commit | ec8845e596facf709d2a0ac19f518452b8382260 (patch) | |
tree | 0165d4965a103ed289c3ad202aa643605d688046 /src/fs/virtfs/virtfszip.cpp | |
parent | 928103c5d9c716dbfe0ba2c8ea13b1426b3e768c (diff) | |
download | plus-ec8845e596facf709d2a0ac19f518452b8382260.tar.gz plus-ec8845e596facf709d2a0ac19f518452b8382260.tar.bz2 plus-ec8845e596facf709d2a0ac19f518452b8382260.tar.xz plus-ec8845e596facf709d2a0ac19f518452b8382260.zip |
Fix code style.
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; |