summaryrefslogtreecommitdiffstats
path: root/src/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.c')
-rw-r--r--src/args.c4
1 files changed, 2 insertions, 2 deletions
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;