diff options
author | Martin Koegler <martin.koegler@chello.at> | 2017-08-10 20:13:08 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-10 14:45:02 -0700 |
commit | c65861d8d17a4e1be0bb0f613c12f48b646837e4 (patch) | |
tree | e7c0218142154ecd29fc1d7c12a2dd5f8f26ae1a /pack.h | |
parent | 4274c698f46a9bc45834c4904e7e113450c042fb (diff) | |
download | git-mk/use-size-t-in-zlib.tar.gz |
zlib.c: use size_t for sizemk/use-size-t-in-zlib
Signed-off-by: Martin Koegler <martin.koegler@chello.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack.h')
-rw-r--r-- | pack.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ struct progress; typedef int (*verify_fn)(const struct object_id *, enum object_type, unsigned long, void*, int*); extern const char *write_idx_file(const char *index_name, struct pack_idx_entry **objects, int nr_objects, const struct pack_idx_option *, const unsigned char *sha1); -extern int check_pack_crc(struct packed_git *p, struct pack_window **w_curs, off_t offset, off_t len, unsigned int nr); +extern int check_pack_crc(struct packed_git *p, struct pack_window **w_curs, off_t offset, size_t len, unsigned int nr); extern int verify_pack_index(struct packed_git *); extern int verify_pack(struct packed_git *, verify_fn fn, struct progress *, uint32_t); extern off_t write_pack_header(struct sha1file *f, uint32_t); |