aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-05-27 17:49:36 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-05-27 17:49:36 +0200
commitbbebc9896a54edd0a92ca626484cb7f981cf0a82 (patch)
treebd8cbc5dbf3c38e15dd8f077ae6fa8ae5d1ab277
parent1ad29c59f64dfbae5e1b4cd1e49bc438648f04e0 (diff)
downloadmblaze-bbebc9896a54edd0a92ca626484cb7f981cf0a82.tar.gz
mdeliver: cast printing of time_t
-rw-r--r--mdeliver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdeliver.c b/mdeliver.c
index 5ac2219..2d33ee3 100644
--- a/mdeliver.c
+++ b/mdeliver.c
@@ -79,7 +79,8 @@ tryagain:
gettimeofday(&tv, 0);
snprintf(id, sizeof id, "%ld.M%06ldP%ldQ%ld.%s",
- tv.tv_sec, tv.tv_usec, (long)getpid(), delivery, host);
+ (long)tv.tv_sec, (long)tv.tv_usec, (long)getpid(),
+ delivery, host);
snprintf(tmp, sizeof tmp, "%s/tmp/%s", targetdir, id);