1
0
mirror of https://github.com/git/git.git synced 2024-11-18 16:04:17 +01:00
git/vcs-svn
Ramsay Jones 5418d96ddc vcs-svn: Fix some printf format compiler warnings
In particular, on systems that define uint32_t as an unsigned long,
gcc complains as follows:

      CC vcs-svn/fast_export.o
  vcs-svn/fast_export.c: In function `fast_export_modify':
  vcs-svn/fast_export.c:28: warning: unsigned int format, uint32_t arg (arg 2)
  vcs-svn/fast_export.c:28: warning: int format, uint32_t arg (arg 3)
  vcs-svn/fast_export.c: In function `fast_export_commit':
  vcs-svn/fast_export.c:42: warning: int format, uint32_t arg (arg 5)
  vcs-svn/fast_export.c:62: warning: int format, uint32_t arg (arg 2)
  vcs-svn/fast_export.c: In function `fast_export_blob':
  vcs-svn/fast_export.c:72: warning: int format, uint32_t arg (arg 2)
  vcs-svn/fast_export.c:72: warning: int format, uint32_t arg (arg 3)
      CC vcs-svn/svndump.o
  vcs-svn/svndump.c: In function `svndump_read':
  vcs-svn/svndump.c:260: warning: int format, uint32_t arg (arg 3)

In order to suppress the warnings we use the C99 format specifier
macros PRIo32 and 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>
2010-09-12 10:24:55 -07:00
..
fast_export.c vcs-svn: Fix some printf format compiler warnings 2010-09-12 10:24:55 -07:00
fast_export.h Infrastructure to write revisions in fast-export format 2010-08-14 19:35:37 -07:00
LICENSE SVN dump parser 2010-08-14 19:35:38 -07:00
line_buffer.c Add stream helper library 2010-08-14 19:35:37 -07:00
line_buffer.h Add stream helper library 2010-08-14 19:35:37 -07:00
line_buffer.txt Add stream helper library 2010-08-14 19:35:37 -07:00
obj_pool.h
repo_tree.c vcs-svn: Rename dirent pool to build on Windows 2010-08-14 19:35:38 -07:00
repo_tree.h Infrastructure to write revisions in fast-export format 2010-08-14 19:35:37 -07:00
string_pool.c Add string-specific memory pool 2010-08-14 19:35:37 -07:00
string_pool.h Add string-specific memory pool 2010-08-14 19:35:37 -07:00
string_pool.txt Add string-specific memory pool 2010-08-14 19:35:37 -07:00
svndump.c vcs-svn: Fix some printf format compiler warnings 2010-09-12 10:24:55 -07:00
svndump.h SVN dump parser 2010-08-14 19:35:38 -07:00
trp.h treap: style fix 2010-08-14 19:35:38 -07:00
trp.txt