summaryrefslogtreecommitdiff
path: root/pack.h
diff options
context:
space:
mode:
authorMartin Koegler <martin.koegler@chello.at>2017-08-10 20:13:08 +0200
committerJunio C Hamano <gitster@pobox.com>2017-08-10 14:45:02 -0700
commitc65861d8d17a4e1be0bb0f613c12f48b646837e4 (patch)
treee7c0218142154ecd29fc1d7c12a2dd5f8f26ae1a /pack.h
parent4274c698f46a9bc45834c4904e7e113450c042fb (diff)
downloadgit-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.h b/pack.h
index 8294341af1..ca89ad0486 100644
--- a/pack.h
+++ b/pack.h
@@ -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);