@matheusbsbs / matheus-bagliano / commits / 98cf815607
Fork 0

count-delta: match get_delta_hdr_size() changes.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Apr 7, 2006 at 16:48 UTC 98cf8156078eb5256d77d01786863185a1728140
1 file changed +2 -2
count-delta.c
+2 -2
@@ -32,8 +32,8 @@ int count_delta(void *delta_buf, unsigned long delta_size,
32 data = delta_buf;
33 top = delta_buf + delta_size;
34
35 - src_size = get_delta_hdr_size(&data);
36 - dst_size = get_delta_hdr_size(&data);
35 + src_size = get_delta_hdr_size(&data, top);
36 + dst_size = get_delta_hdr_size(&data, top);
37
38 added_literal = copied_from_source = out = 0;
39 while (data < top) {