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 /crc32.c | |
parent | 806e48855fb41fa6797dd03eb8c99ab1abe2313a (diff) |
Replace Z_NULL with NULL. Fix incorrect uses of NULL/Z_NULL.
Diffstat (limited to 'crc32.c')
-rw-r--r-- | crc32.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |