From d28b02d14397ff808af6e2fbb21b899cfcabbf1c Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sat, 27 May 2017 17:49:49 +0200 Subject: [PATCH] mhdr: cast printing of time_t --- mhdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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