diff options
author | Steffen Prohaska <prohaska@zib.de> | 2007-11-21 21:27:19 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-28 16:03:38 -0800 |
commit | 9e42d6a1c53dadd409fab11cc76e0eba9ec15365 (patch) | |
tree | f663b270c54834fb82c0aeb3833a1ae9cd4b58a0 /t/t5515/fetch.master | |
parent | Revert "t5516: test update of local refs on push" (diff) | |
download | tgif-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 't/t5515/fetch.master')
0 files changed, 0 insertions, 0 deletions