summaryrefslogtreecommitdiff
path: root/crc32.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 /crc32.c
parent806e48855fb41fa6797dd03eb8c99ab1abe2313a (diff)
Replace Z_NULL with NULL. Fix incorrect uses of NULL/Z_NULL.
Diffstat (limited to 'crc32.c')
-rw-r--r--crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crc32.c b/crc32.c
index 937f48d..433244d 100644
--- a/crc32.c
+++ b/crc32.c
@@ -212,7 +212,7 @@ const uint32_t * ZEXPORT get_crc_table(void) {
/* ========================================================================= */
uint32_t ZEXPORT crc32(uint32_t crc, const unsigned char *buf, z_off64_t len) {
- if (buf == Z_NULL) return 0;
+ if (buf == NULL) return 0;
#ifdef DYNAMIC_CRC_TABLE
if (crc_table_empty)