Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4984005

Browse files
committed
diff: use size_t format
1 parent 3451c87 commit 4984005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diff_print.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ static int format_binary(
336336
"delta" : "literal";
337337
const char *scan, *end;
338338

339-
git_buf_printf(pi->buf, "%s %lu\n", typename, inflatedlen);
339+
git_buf_printf(pi->buf, "%s %" PRIuZ "\n", typename, inflatedlen);
340340
pi->line.num_lines++;
341341

342342
for (scan = data, end = data + datalen; scan < end; ) {

0 commit comments

Comments
 (0)