]> git.proxmox.com Git - libgit2.git/commit - src/cache.c
Fix #3094 - improve use of portable size_t/ssize_t format specifiers.
authorMatthew Plough <matt.plough@gmail.com>
Tue, 30 Jun 2015 23:00:41 +0000 (19:00 -0400)
committerCarlos Martín Nieto <cmn@dwim.me>
Sun, 12 Jul 2015 17:55:19 +0000 (19:55 +0200)
commit768f8be31c3fac1b0ed8f4d49cf7176a30586443
tree93bce70b7e1e0417bd6f843e3ae2eea4d28da0ec
parent9126ccac969a8da85992f5e3a67b292e59d4d7d0
Fix #3094 - improve use of portable size_t/ssize_t format specifiers.

The header src/cc-compat.h defines portable format specifiers PRIuZ, PRIdZ, and PRIxZ. The original report highlighted the need to use these specifiers in examples/network/fetch.c.  For this commit, I checked all C source and header files not in deps/ and transitioned to the appropriate format specifier where appropriate.
examples/network/fetch.c
src/cache.c
src/checkout.c
src/merge.c
src/rebase.c
src/stash.c
src/transports/http.c
src/transports/smart_pkt.c
tests/blame/blame_helpers.c
tests/clar_libgit2.c
tests/merge/merge_helpers.c