diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2015-02-24 13:57:44 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2015-02-24 13:57:47 +0100 |
commit | 0145ba12ecb20583adda4e4b03dd5b7cfb15d1f4 (patch) | |
tree | a5bb2e6ff27635b7274f97f04b8a7c616a2ebf3b /src/ui-calendar.c | |
parent | 892d6edccd8d94b24cf4740638fa07c9762650fc (diff) | |
download | calcurse-0145ba12ecb20583adda4e4b03dd5b7cfb15d1f4.zip |
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 <calcurse@cryptocrack.de>
Diffstat (limited to 'src/ui-calendar.c')
-rw-r--r-- | src/ui-calendar.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |