summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zbuild.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zbuild.h b/zbuild.h
index a62c3c6135..4975b11b97 100644
--- a/zbuild.h
+++ b/zbuild.h
@@ -249,7 +249,7 @@
#ifdef ZLIB_DEBUG
extern int Z_INTERNAL z_verbose;
extern void Z_INTERNAL z_error(const char *m);
-# define Assert(cond, msg) {int _cond = (cond); if (!_cond) z_error(msg);}
+# define Assert(cond, msg) {int _cond = (cond); if (!(_cond)) z_error(msg);}
# define Trace(x) {if (z_verbose >= 0) fprintf x;}
# define Tracev(x) {if (z_verbose > 0) fprintf x;}
# define Tracevv(x) {if (z_verbose > 1) fprintf x;}