X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=pack-check.c;h=a1a521648deee8e7e82c4e2cb7fe8fe03605dc06;hb=144dfc5c63dfe829aafdb2cba3bd549600b6008b;hp=c3bf21dbcb4b79fdc815ef80ae5c970aafd02bbf;hpb=6c80cd298a9f2f36ae4e741cf65d94b7c184fb82;p=git.git diff --git a/pack-check.c b/pack-check.c index c3bf21dbc..a1a521648 100644 --- a/pack-check.c +++ b/pack-check.c @@ -23,7 +23,7 @@ int check_pack_crc(struct packed_git *p, struct pack_window **w_curs, off_t offset, off_t len, unsigned int nr) { const uint32_t *index_crc; - uint32_t data_crc = crc32(0, Z_NULL, 0); + uint32_t data_crc = crc32(0, NULL, 0); do { unsigned int avail;