aboutsummaryrefslogtreecommitdiff
path: root/git-checkout.sh
diff options
context:
space:
mode:
authorSteffen Prohaska <prohaska@zib.de>2007-11-21 21:27:19 +0100
committerJunio C Hamano <gitster@pobox.com>2007-11-28 16:03:38 -0800
commit9e42d6a1c53dadd409fab11cc76e0eba9ec15365 (patch)
treef663b270c54834fb82c0aeb3833a1ae9cd4b58a0 /git-checkout.sh
parent0673c96db92429d1c6dee528c71b067470b1e8f9 (diff)
downloadgit-9e42d6a1c53dadd409fab11cc76e0eba9ec15365.tar.gz
git-9e42d6a1c53dadd409fab11cc76e0eba9ec15365.tar.xz
sha1_file.c: Fix size_t related printf format warnings
The old way of fixing warnings did not succeed on MinGW. MinGW does not support C99 printf format strings for size_t [1]. But gcc on MinGW issues warnings if C99 printf format is not used. Hence, the old stragegy to avoid warnings fails. [1] http://www.mingw.org/MinGWiki/index.php/C99 This commits passes arguments of type size_t through a tiny helper functions that casts to the type expected by the format string. Signed-off-by: Steffen Prohaska <prohaska@zib.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-checkout.sh')
0 files changed, 0 insertions, 0 deletions