aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/unzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/qcommon/unzip.c')
-rw-r--r--code/qcommon/unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/unzip.c b/code/qcommon/unzip.c
index 6522ec7..6d45492 100644
--- a/code/qcommon/unzip.c
+++ b/code/qcommon/unzip.c
@@ -235,7 +235,7 @@ typedef Byte *voidp;
#define Z_DEFLATED 8
/* The deflate compression method (the only one supported in this version) */
-#define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
+#define Z_NULL (void *)0 /* for initializing zalloc, zfree, opaque */
#define zlib_version zlibVersion()
/* for compatibility with versions < 1.0.2 */