From: Junio C Hamano Date: Fri, 7 Apr 2006 23:48:09 +0000 (-0700) Subject: count-delta: match get_delta_hdr_size() changes. X-Git-Tag: v1.2.6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0719925f2364525036803722735c5591d7fdc134;p=git.git count-delta: match get_delta_hdr_size() changes. Signed-off-by: Junio C Hamano --- diff --git a/count-delta.c b/count-delta.c index 058a2aadb..54215df7f 100644 --- a/count-delta.c +++ b/count-delta.c @@ -32,8 +32,8 @@ int count_delta(void *delta_buf, unsigned long delta_size, data = delta_buf; top = delta_buf + delta_size; - src_size = get_delta_hdr_size(&data); - dst_size = get_delta_hdr_size(&data); + src_size = get_delta_hdr_size(&data, top); + dst_size = get_delta_hdr_size(&data, top); added_literal = copied_from_source = out = 0; while (data < top) {