summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfszip.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-14 19:17:03 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-14 19:17:03 +0300
commitec8845e596facf709d2a0ac19f518452b8382260 (patch)
tree0165d4965a103ed289c3ad202aa643605d688046 /src/fs/virtfs/virtfszip.cpp
parent928103c5d9c716dbfe0ba2c8ea13b1426b3e768c (diff)
downloadplus-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.cpp4
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;