Commit Diff


commit - 40c2b7bf80b949ca460bac3c15cc771c312c1a79
commit + 24d916d21f287fd70d7ba70f077a8d84c3fdee7c
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 - a0e4605db9d0e09c13d9759d920424011998a329
blob + 5779ba728d64bd7ba33214a09f3f0a31c5caf882
--- lib/pack.c
+++ lib/pack.c
@@ -963,7 +963,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;