mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 09:41:04 +00:00
Fixed size_t format string warning
This commit is contained in:
parent
cfc7b835d6
commit
79ff264e2f
@ -517,7 +517,7 @@ static int gen_pktline(git_buf *buf, git_push *push)
|
||||
git_oid_fmt(old_id, &spec->roid);
|
||||
git_oid_fmt(new_id, &spec->loid);
|
||||
|
||||
git_buf_printf(buf, "%04x%s %s %s", len, old_id, new_id, spec->rref);
|
||||
git_buf_printf(buf, "%04zx%s %s %s", len, old_id, new_id, spec->rref);
|
||||
|
||||
if (i == 0) {
|
||||
git_buf_putc(buf, '\0');
|
||||
|
Loading…
Reference in New Issue
Block a user