From 03340db72e8c92f84d4a2425a1a5b74ce76f2df4 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 14 Jan 2019 06:01:21 +0100 Subject: Use time_t for system time values Signed-off-by: Lukas Fleischer --- src/notify.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/notify.c') diff --git a/src/notify.c b/src/notify.c index 5a44c0b..312be4e 100644 --- a/src/notify.c +++ b/src/notify.c @@ -98,7 +98,7 @@ unsigned notify_needs_reminder(void) * Note: the mutex associated with this structure must be locked by the * caller! */ -void notify_update_app(long start, char state, char *msg) +void notify_update_app(time_t start, char state, char *msg) { notify_free_app(); notify_app.got_app = 1; @@ -469,7 +469,7 @@ void notify_check_next_app(int force) } /* Check if the newly created appointment is to be notified. */ -void notify_check_added(char *mesg, long start, char state) +void notify_check_added(char *mesg, time_t start, char state) { time_t current_time; int update_notify = 0; @@ -523,7 +523,7 @@ void notify_check_repeated(struct recur_apoint *i) notify_update_bar(); } -int notify_same_item(long time) +int notify_same_item(time_t time) { int same = 0; -- cgit v1.2.3-54-g00ecf