crc_fold_init(s);
return;
}
- s->strm->adler = crc32(0L, Z_NULL, 0);
+ s->strm->adler = crc32(0L, NULL, 0);
}
ZLIB_INTERNAL void crc_finalize(deflate_state *const s) {
#ifndef X86_PCLMULQDQ_CRC
ZLIB_INTERNAL void crc_reset(deflate_state *const s) {
- s->strm->adler = crc32(0L, Z_NULL, 0);
+ s->strm->adler = crc32(0L, NULL, 0);
}
ZLIB_INTERNAL void copy_with_crc(z_stream *strm, unsigned char *dst, unsigned long size) {
}
}
if (s->status == EXTRA_STATE) {
- if (s->gzhead->extra != Z_NULL) {
+ if (s->gzhead->extra != NULL) {
uint32_t beg = s->pending; /* start of bytes to update crc */
uint32_t left = (s->gzhead->extra_len & 0xffff) - s->gzindex;