r1233 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Dec 11 16:11:02 EST 2007


Author: tma
Date: 2007-12-11 16:11:01 -0500 (Tue, 11 Dec 2007)
New Revision: 1233

Modified:
   trunk/code/qcommon/unzip.c
Log:
* (bug 3470) Correct type for function pointer
  (baggett.patrick at figglesoftware.com)


Modified: trunk/code/qcommon/unzip.c
===================================================================
--- trunk/code/qcommon/unzip.c	2007-12-11 00:19:23 UTC (rev 1232)
+++ trunk/code/qcommon/unzip.c	2007-12-11 21:11:01 UTC (rev 1233)
@@ -4048,7 +4048,7 @@
 
   /* 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);




More information about the quake3-commits mailing list