diff options
author | Mika Lindqvist <postmaster@raasu.org> | 2016-04-25 22:59:59 +0300 |
---|---|---|
committer | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2017-01-31 10:53:22 +0100 |
commit | 602531cf3de544e7b1e2db8ce8f05e3ebc355ca2 (patch) | |
tree | fd5e1c39f2b23257f6f55a0f8b0963a5f99eaad8 /gzread.c | |
parent | 806e48855fb41fa6797dd03eb8c99ab1abe2313a (diff) |
Replace Z_NULL with NULL. Fix incorrect uses of NULL/Z_NULL.
Diffstat (limited to 'gzread.c')
-rw-r--r-- | gzread.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -94,11 +94,11 @@ static int gz_look(gz_statep state) { state->size = state->want; /* allocate inflate memory */ - state->strm.zalloc = Z_NULL; - state->strm.zfree = Z_NULL; - state->strm.opaque = Z_NULL; + state->strm.zalloc = NULL; + state->strm.zfree = NULL; + state->strm.opaque = NULL; state->strm.avail_in = 0; - state->strm.next_in = Z_NULL; + state->strm.next_in = NULL; if (inflateInit2(&(state->strm), 15 + 16) != Z_OK) { /* gunzip */ free(state->out); free(state->in); |