vcs-svn/fast_export: fix timestamp fmt specifiers
Two instances of %ld being used for unsigned longs Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Mike Ralphson committed
Sep 14, 2016 at 06:40 UTC
5efc60c12f6f63f0ab4e9601c17fdbec94e4049a
1 file changed
+2
-2
vcs-svn/fast_export.c
+2
-2
@@ -73,7 +73,7 @@ void fast_export_begin_note(uint32_t revision, const char *author,
73
static int firstnote = 1;
74
size_t loglen = strlen(log);
75
printf("commit %s\n", note_ref);
76
- printf("committer %s <%s@%s> %ld +0000\n", author, author, "local", timestamp);
76
+ printf("committer %s <%s@%s> %lu +0000\n", author, author, "local", timestamp);
77
printf("data %"PRIuMAX"\n", (uintmax_t)loglen);
78
fwrite(log, loglen, 1, stdout);
79
if (firstnote) {
@@ -107,7 +107,7 @@ void fast_export_begin_commit(uint32_t revision, const char *author,
107
}
108
printf("commit %s\n", local_ref);
109
printf("mark :%"PRIu32"\n", revision);
110
- printf("committer %s <%s@%s> %ld +0000\n",
110
+ printf("committer %s <%s@%s> %lu +0000\n",
111
*author ? author : "nobody",
112
*author ? author : "nobody",
113
*uuid ? uuid : "local", timestamp);