From 5400a3120742494281f6cce43545657432a08f25 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 2 Apr 2018 04:11:12 +0300 Subject: Add some missing brackets in macroses. --- src/fs/virtfs/zipreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs') 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(val), 1, sz, arcFile); \ - if (cnt != sz) \ + if (cnt != (sz)) \ { \ reportAlways("Error reading " msg " in file %s", \ archiveName.c_str()); \ -- cgit v1.2.3-70-g09d2