diff options
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()); \ |