* (bug 3470) Correct type for function pointer

(baggett.patrick@figglesoftware.com)
This commit is contained in:
Tim Angus 2007-12-11 21:11:01 +00:00
parent b9ab949ec7
commit b906e94a6d

View file

@ -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);