diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-02 04:11:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-02 04:11:12 +0300 |
commit | 5400a3120742494281f6cce43545657432a08f25 (patch) | |
tree | be843b338f34ef2d6d474121031a7b57f82f677b /src/fs | |
parent | ecae89e342fc07daa816fe7de133968a51745040 (diff) | |
download | manaverse-5400a3120742494281f6cce43545657432a08f25.tar.gz manaverse-5400a3120742494281f6cce43545657432a08f25.tar.bz2 manaverse-5400a3120742494281f6cce43545657432a08f25.tar.xz manaverse-5400a3120742494281f6cce43545657432a08f25.zip |
Add some missing brackets in macroses.
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/virtfs/zipreader.cpp | 2 |
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()); \ |