]> git.ipfire.org Git - thirdparty/git.git/commit - builtin-index-pack.c
Fix some warnings (on cygwin) to allow -Werror
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Thu, 3 Jul 2008 15:52:09 +0000 (16:52 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Jul 2008 00:26:29 +0000 (17:26 -0700)
commit6e1c23442a0315ad440bb8457703dcf1ad943b96
tree029bfdb329dfdaeb8a85787c6548fbf06d191b78
parentdb5d6666afb9f315f9c9ac74a5d638f07cf9cbe0
Fix some warnings (on cygwin) to allow -Werror

When printing valuds of type uint32_t, we should use PRIu32, and should
not assume that it is unsigned int.  On 32-bit platforms, it could be
defined as unsigned long. The same caution applies to ntohl().

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fast-export.c
builtin-fetch-pack.c
builtin-pack-objects.c
builtin-unpack-objects.c
builtin-verify-pack.c
index-pack.c
receive-pack.c
sha1_file.c
show-index.c