From 0145ba12ecb20583adda4e4b03dd5b7cfb15d1f4 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 24 Feb 2015 13:57:44 +0100 Subject: Use time_t instead of long in several places Start converting some variables and return values to store times from long to time_t. Signed-off-by: Lukas Fleischer --- src/ui-calendar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui-calendar.c') diff --git a/src/ui-calendar.c b/src/ui-calendar.c index 4539b86..2259c7f 100644 --- a/src/ui-calendar.c +++ b/src/ui-calendar.c @@ -214,7 +214,7 @@ struct date *ui_calendar_get_slctd_day(void) } /* Returned value represents the selected day in calendar (in seconds) */ -long ui_calendar_get_slctd_day_sec(void) +time_t ui_calendar_get_slctd_day_sec(void) { return date2sec(slctd_day, 0, 0); } -- cgit v1.2.3-54-g00ecf