summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-09-21 22:15:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-09-21 22:15:27 (GMT)
commitac5ce66adc252d6291b32b5b342d224cbcc2e759 (patch)
treea1d2fd827fccd6cb0a6298a8a48b7335f2e3dac5
parent4ed38637ec6fa08b4bef42a35d87f95c0582b97b (diff)
parent5efc60c12f6f63f0ab4e9601c17fdbec94e4049a (diff)
downloadgit-ac5ce66adc252d6291b32b5b342d224cbcc2e759.zip
git-ac5ce66adc252d6291b32b5b342d224cbcc2e759.tar.gz
git-ac5ce66adc252d6291b32b5b342d224cbcc2e759.tar.bz2
Merge branch 'mr/vcs-svn-printf-ulong'
Code cleanup. * mr/vcs-svn-printf-ulong: vcs-svn/fast_export: fix timestamp fmt specifiers
-rw-r--r--vcs-svn/fast_export.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcs-svn/fast_export.c b/vcs-svn/fast_export.c
index bd0f2c2..97cba39 100644
--- a/vcs-svn/fast_export.c
+++ b/vcs-svn/fast_export.c
@@ -73,7 +73,7 @@ void fast_export_begin_note(uint32_t revision, const char *author,
static int firstnote = 1;
size_t loglen = strlen(log);
printf("commit %s\n", note_ref);
- printf("committer %s <%s@%s> %ld +0000\n", author, author, "local", timestamp);
+ printf("committer %s <%s@%s> %lu +0000\n", author, author, "local", timestamp);
printf("data %"PRIuMAX"\n", (uintmax_t)loglen);
fwrite(log, loglen, 1, stdout);
if (firstnote) {
@@ -107,7 +107,7 @@ void fast_export_begin_commit(uint32_t revision, const char *author,
}
printf("commit %s\n", local_ref);
printf("mark :%"PRIu32"\n", revision);
- printf("committer %s <%s@%s> %ld +0000\n",
+ printf("committer %s <%s@%s> %lu +0000\n",
*author ? author : "nobody",
*author ? author : "nobody",
*uuid ? uuid : "local", timestamp);