vcs-svn: add missing cast to printf argument
gcc -m32 correctly warns: vcs-svn/fast_export.c: In function 'fast_export_commit': vcs-svn/fast_export.c:54:2: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'unsigned int' [-Wformat] Fix it. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
be919d50c0
commit
8cc299daf2
@ -51,7 +51,8 @@ void fast_export_commit(uint32_t revision, const char *author,
|
|||||||
*author ? author : "nobody",
|
*author ? author : "nobody",
|
||||||
*author ? author : "nobody",
|
*author ? author : "nobody",
|
||||||
*uuid ? uuid : "local", timestamp);
|
*uuid ? uuid : "local", timestamp);
|
||||||
printf("data %"PRIuMAX"\n", log->len + strlen(gitsvnline));
|
printf("data %"PRIuMAX"\n",
|
||||||
|
(uintmax_t) (log->len + strlen(gitsvnline)));
|
||||||
fwrite(log->buf, log->len, 1, stdout);
|
fwrite(log->buf, log->len, 1, stdout);
|
||||||
printf("%s\n", gitsvnline);
|
printf("%s\n", gitsvnline);
|
||||||
if (!first_commit_done) {
|
if (!first_commit_done) {
|
||||||
|
Loading…
Reference in New Issue
Block a user