summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-02 04:11:12 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-02 04:11:12 +0300
commit5400a3120742494281f6cce43545657432a08f25 (patch)
treebe843b338f34ef2d6d474121031a7b57f82f677b /src/fs
parentecae89e342fc07daa816fe7de133968a51745040 (diff)
downloadmv-5400a3120742494281f6cce43545657432a08f25.tar.gz
mv-5400a3120742494281f6cce43545657432a08f25.tar.bz2
mv-5400a3120742494281f6cce43545657432a08f25.tar.xz
mv-5400a3120742494281f6cce43545657432a08f25.zip
Add some missing brackets in macroses.
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/virtfs/zipreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/virtfs/zipreader.cpp b/src/fs/virtfs/zipreader.cpp
index 340ccf352..4900b388c 100644
--- a/src/fs/virtfs/zipreader.cpp
+++ b/src/fs/virtfs/zipreader.cpp
@@ -48,7 +48,7 @@ extern const char *dirSeparator;
#define readVal(val, sz, msg) \
cnt = fread(static_cast<void*>(val), 1, sz, arcFile); \
- if (cnt != sz) \
+ if (cnt != (sz)) \
{ \
reportAlways("Error reading " msg " in file %s", \
archiveName.c_str()); \