Commit 4c9ffdff76d6d0c4dd65793148d38b35b7703d0d

Philip Kelley 2014-05-17T12:45:34

Fix printf format string from previous commit

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/diff_print.c b/src/diff_print.c
index de1477a..2675351 100644
--- a/src/diff_print.c
+++ b/src/diff_print.c
@@ -342,7 +342,7 @@ static int print_binary_hunk(diff_print_info *pi, git_blob *old, git_blob *new)
 		}
 	}
 
-	git_buf_printf(pi->buf, "%s %u\n", out_type, inflated_len);
+	git_buf_printf(pi->buf, "%s %lu\n", out_type, inflated_len);
 	pi->line.num_lines++;
 
 	for (ptr = out->ptr, remain = out->size; remain > 0; ) {