diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index 5a67c8181e5273ab0e79b8cb704dadc87cde1a37..31f001f1059ec533ee62d6bd951b068d7f924f50 100644 (file)
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c
@@ -294,7 +294,7 @@ static void *unpack_raw_entry(struct object_entry *obj, union delta_base *delta_
void *data;
obj->idx.offset = consumed_bytes;
- input_crc32 = crc32(0, Z_NULL, 0);
+ input_crc32 = crc32(0, NULL, 0);
p = fill(1);
c = *p;