diff options
| author | Patrick Steinhardt <ps@pks.im> | 2016-11-14 10:05:31 +0100 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2016-11-14 10:05:59 +0100 |
| commit | c77a55a917c60bc052d8702d4c3e170b0b5fe964 (patch) | |
| tree | 2531758b7f6c33468c3dc8ce8f20f745aeb105bf /src/apply.c | |
| parent | 8effd26f598f8d2d24f023290f6f7e87be20aac5 (diff) | |
| download | libgit2-c77a55a917c60bc052d8702d4c3e170b0b5fe964.tar.gz | |
common: use PRIuZ for size_t in `giterr_set` calls
Diffstat (limited to 'src/apply.c')
| -rw-r--r-- | src/apply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apply.c b/src/apply.c index f70172469..635934299 100644 --- a/src/apply.c +++ b/src/apply.c @@ -173,7 +173,7 @@ static int apply_hunk( git_diff_line *line = git_array_get(patch->lines, linenum); if (!line) { - error = apply_err("Preimage does not contain line %d", linenum); + error = apply_err("Preimage does not contain line %"PRIuZ, linenum); goto done; } |
