Commit Diff


commit - 53968af20b9d32ed534dbcb5c2a429bbf67e036c
commit + 2424a69df90c2e63ec0640ae982b316106698760
blob - c3aa573d4997a2dc0cb67ccb37e2059a36d82e87
blob + 38d0cdc9b37e656d62eca1ed1def96ff6e7e2ef5
--- lib/got_lib_pack.h
+++ lib/got_lib_pack.h
@@ -41,7 +41,7 @@ const struct got_error *got_pack_start_privsep_child(s
 const struct got_error *got_pack_close(struct got_pack *);
 
 const struct got_error *got_pack_parse_offset_delta(off_t *, size_t *,
-    struct got_pack *, off_t, int);
+    struct got_pack *, off_t, size_t);
 const struct got_error *got_pack_parse_ref_delta(struct got_object_id *,
     struct got_pack *, off_t, int);
 const struct got_error *got_pack_resolve_delta_chain(struct got_delta_chain *,
blob - 07bd02d8fa88cb026d8119ce8602a088cb502106
blob + 2e24877174ebd39a54fd2a2041de662795b2b760
--- lib/pack.c
+++ lib/pack.c
@@ -960,7 +960,7 @@ parse_negative_offset(int64_t *offset, size_t *len, st
 
 const struct got_error *
 got_pack_parse_offset_delta(off_t *base_offset, size_t *len,
-    struct got_pack *pack, off_t offset, int tslen)
+    struct got_pack *pack, off_t offset, size_t tslen)
 {
 	const struct got_error *err;
 	int64_t negoffset;