fix time_t printf()... come on, Linux, catch-up! - ics2txt - convert icalendar .ics file to plain text
(HTM) git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ics2txt
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit b422b3d0c401d13978ded1934e6ac743ee8a12d9
(DIR) parent 58a1a9df90b5751ae05fba076cd9e664e3d9f3c1
(HTM) Author: Josuah Demangeon <me@josuah.net>
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(-)
---
(DIR) 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);
}