fix time_t printf()... come on, Linux, catch-up! - ics2txt - convert icalendar … | |
git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit b422b3d0c401d13978ded1934e6ac743ee8a12d9 | |
parent 58a1a9df90b5751ae05fba076cd9e664e3d9f3c1 | |
Author: Josuah Demangeon <[email protected]> | |
Date: Mon, 14 Jun 2021 00:11:27 +0200 | |
fix time_t printf()... come on, Linux, catch-up! | |
Diffstat: | |
M ics2tree.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/ics2tree.c b/ics2tree.c | |
@@ -55,7 +55,7 @@ fn_entry_value(IcalParser *p, char *name, char *value) | |
if (ical_get_time(p, value, &t) != 0) | |
warn("%s: %s", p->errmsg, value); | |
- printf("epoch %ld\n", t); | |
+ printf("epoch %lld\n", t); | |
} else { | |
printf("value %s\n", value); | |
} |