diff options
Diffstat (limited to 'pack-check.c')
-rw-r--r-- | pack-check.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pack-check.c b/pack-check.c index 9d0cb9a114..a1a521648d 100644 --- a/pack-check.c +++ b/pack-check.c @@ -2,8 +2,7 @@ #include "pack.h" #include "pack-revindex.h" -struct idx_entry -{ +struct idx_entry { off_t offset; const unsigned char *sha1; unsigned int nr; @@ -24,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; |