summaryrefslogtreecommitdiff
path: root/uncompr.c
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2016-04-25 22:59:59 +0300
committerHans Kristian Rosbach <hk-git@circlestorm.org>2017-01-31 10:53:22 +0100
commit602531cf3de544e7b1e2db8ce8f05e3ebc355ca2 (patch)
treefd5e1c39f2b23257f6f55a0f8b0963a5f99eaad8 /uncompr.c
parent806e48855fb41fa6797dd03eb8c99ab1abe2313a (diff)
Replace Z_NULL with NULL. Fix incorrect uses of NULL/Z_NULL.
Diffstat (limited to 'uncompr.c')
-rw-r--r--uncompr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uncompr.c b/uncompr.c
index c2af140..50e0d86 100644
--- a/uncompr.c
+++ b/uncompr.c
@@ -40,8 +40,8 @@ int ZEXPORT uncompress(unsigned char *dest, size_t *destLen, const unsigned char
stream.next_in = (const unsigned char *)source;
stream.avail_in = 0;
- stream.zalloc = (alloc_func)0;
- stream.zfree = (free_func)0;
+ stream.zalloc = NULL;
+ stream.zfree = NULL;
stream.opaque = NULL;
err = inflateInit(&stream);