Commits

Anonymous committed 98cf815

count-delta: match get_delta_hdr_size() changes.

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

Comments (0)

Files changed (1)

 	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) {