Skip to content

Commit ac5ce66

Browse files
committed
Merge branch 'mr/vcs-svn-printf-ulong'
Code cleanup. * mr/vcs-svn-printf-ulong: vcs-svn/fast_export: fix timestamp fmt specifiers
2 parents 4ed3863 + 5efc60c commit ac5ce66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vcs-svn/fast_export.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void fast_export_begin_note(uint32_t revision, const char *author,
7373
static int firstnote = 1;
7474
size_t loglen = strlen(log);
7575
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);
7777
printf("data %"PRIuMAX"\n", (uintmax_t)loglen);
7878
fwrite(log, loglen, 1, stdout);
7979
if (firstnote) {
@@ -107,7 +107,7 @@ void fast_export_begin_commit(uint32_t revision, const char *author,
107107
}
108108
printf("commit %s\n", local_ref);
109109
printf("mark :%"PRIu32"\n", revision);
110-
printf("committer %s <%s@%s> %ld +0000\n",
110+
printf("committer %s <%s@%s> %lu +0000\n",
111111
*author ? author : "nobody",
112112
*author ? author : "nobody",
113113
*uuid ? uuid : "local", timestamp);

0 commit comments

Comments
 (0)