diff options
author | Philip Kelley <phkelley@hotmail.com> | 2014-05-17 12:45:34 -0400 |
---|---|---|
committer | Philip Kelley <phkelley@hotmail.com> | 2014-05-17 12:45:34 -0400 |
commit | 4c9ffdff76d6d0c4dd65793148d38b35b7703d0d (patch) | |
tree | a81411351f939ab8073b80e0496981da63067620 | |
parent | c6320bec93ec885208e602f7ebef3e7d79ca7901 (diff) | |
download | libgit2-4c9ffdff76d6d0c4dd65793148d38b35b7703d0d.tar.gz |
Fix printf format string from previous commit
-rw-r--r-- | src/diff_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_print.c b/src/diff_print.c index de1477a85..26753515b 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; ) { |