aboutsummaryrefslogtreecommitdiffstats
path: root/src/notify.c
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2019-01-14 06:01:21 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2019-01-14 06:21:34 +0100
commit03340db72e8c92f84d4a2425a1a5b74ce76f2df4 (patch)
tree201cba607fe49ecad3c641d25a5bb93de8f775a9 /src/notify.c
parent51f17fb9c6f80a0caa878d38e7a9ee5715722686 (diff)
downloadcalcurse-03340db72e8c92f84d4a2425a1a5b74ce76f2df4.tar.gz
calcurse-03340db72e8c92f84d4a2425a1a5b74ce76f2df4.zip
Use time_t for system time values
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/notify.c')
-rw-r--r--src/notify.c6
1 files changed, 3 insertions, 3 deletions
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;