author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | |
Thu, 3 Jul 2008 15:52:09 +0000 (16:52 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 6 Jul 2008 00:26:29 +0000 (17:26 -0700) | ||
commit | 6e1c23442a0315ad440bb8457703dcf1ad943b96 | |
tree | 029bfdb329dfdaeb8a85787c6548fbf06d191b78 | tree | snapshot |
parent | db5d6666afb9f315f9c9ac74a5d638f07cf9cbe0 | commit | diff |
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>
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>