From b906e94a6d35e502fa6247817b1c8df0beb358e8 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 11 Dec 2007 21:11:01 +0000 Subject: [PATCH] * (bug 3470) Correct type for function pointer (baggett.patrick@figglesoftware.com) --- code/qcommon/unzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/unzip.c b/code/qcommon/unzip.c index ac956091..7daf271b 100644 --- a/code/qcommon/unzip.c +++ b/code/qcommon/unzip.c @@ -4048,7 +4048,7 @@ int inflateInit2_(z_streamp z, int w, const char *version, int stream_size) /* create inflate_blocks state */ if ((z->state->blocks = - inflate_blocks_new(z, z->state->nowrap ? Z_NULL : adler32, (uInt)1 << w)) + inflate_blocks_new(z, z->state->nowrap ? ((check_func)0) : adler32, (uInt)1 << w)) == Z_NULL) { inflateEnd(z);