From 32840a7d4936f31eb568529fec2b6555d82aa304 Mon Sep 17 00:00:00 2001 From: tma Date: Tue, 11 Dec 2007 21:11:01 +0000 Subject: * (bug 3470) Correct type for function pointer (baggett.patrick@figglesoftware.com) git-svn-id: svn://svn.icculus.org/quake3/trunk@1233 edf5b092-35ff-0310-97b2-ce42778d08ea --- 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 ac95609..7daf271 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); -- cgit v1.2.3