From a12833ec086d5e0d35eac04f7e3c386879beccc0 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 19 Jan 2015 23:47:55 +0100 Subject: Handle dates past January 19th, 2038 Try to support dates past year 2038 on systems with 64-bit time_t. Signed-off-by: Lukas Fleischer --- src/args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/args.c') diff --git a/src/args.c b/src/args.c index e6ba6e0..f0015d0 100644 --- a/src/args.c +++ b/src/args.c @@ -310,7 +310,7 @@ date_arg_from_to(long from, long to, int add_line, const char *fmt_apt, } } -static int parse_datearg(const char *str) +static long parse_datearg(const char *str) { struct date day; @@ -329,7 +329,7 @@ static int parse_datearg(const char *str) return -1; } -static int parse_datetimearg(const char *str) +static long parse_datetimearg(const char *str) { char *date = mem_strdup(str); char *time; -- cgit v1.2.3