aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-12-11 21:11:01 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-12-11 21:11:01 +0000
commit32840a7d4936f31eb568529fec2b6555d82aa304 (patch)
treee1f49feba6bb1e0ba284b3893f2f30aac836b58d
parentec682e5ce751c3e83df747412ed0b6786d213ab3 (diff)
downloadioquake3-aero-32840a7d4936f31eb568529fec2b6555d82aa304.tar.gz
ioquake3-aero-32840a7d4936f31eb568529fec2b6555d82aa304.zip
* (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
-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 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);