Code

svndump.c: Fix a printf format compiler warning
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Tue, 11 Jan 2011 18:17:21 +0000 (18:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Jan 2011 00:48:47 +0000 (16:48 -0800)
commit5ee5f5a65d5a60cd327f1a4b92ee0f48508f2362
treed45c8b1a1c8364e8ceeec6dd7b141e0da5fcbb23
parent60a2e3320f3030d7c1f453a8cadafad7012fd820
svndump.c: Fix a printf format compiler warning

In particular, on systems that define uint32_t as an unsigned long,
gcc complains as follows:

        CC vcs-svn/svndump.o
    vcs-svn/svndump.c: In function `svndump_read':
    vcs-svn/svndump.c:215: warning: int format, uint32_t arg (arg 2)

In order to suppress the warning we use the C99 format specifier
macro PRIu32 from <inttypes.h>.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
vcs-svn/svndump.c