aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-05-27 17:49:49 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-05-27 17:49:49 +0200
commitd28b02d14397ff808af6e2fbb21b899cfcabbf1c (patch)
treea571d76fa2e16253f76d91271956ede4bba452c1
parentbbebc9896a54edd0a92ca626484cb7f981cf0a82 (diff)
downloadmblaze-d28b02d14397ff808af6e2fbb21b899cfcabbf1c.tar.gz
mhdr: cast printing of time_t
-rw-r--r--mhdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mhdr.c b/mhdr.c
index 839625f..5dfd636 100644
--- a/mhdr.c
+++ b/mhdr.c
@@ -86,7 +86,7 @@ print_date(char *s)
time_t t = blaze822_date(s);
if (t == -1)
return;
- printf("%ld\n", t);
+ printf("%ld\n", (long)t);
}
void