diff options
author | Frederic Culot <calcurse@culot.org> | 2007-07-29 20:59:09 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-07-29 20:59:09 +0000 |
commit | 2767b1f0e9cdb4193f3682ad94bd47de4491e925 (patch) | |
tree | 295eb62c1d0c3c70d0e938f185cee3c4efac8906 /src/day.c | |
parent | fa87c918480a3ef6449a4d2decc20e455c133477 (diff) | |
download | calcurse-2767b1f0e9cdb4193f3682ad94bd47de4491e925.tar.gz calcurse-2767b1f0e9cdb4193f3682ad94bd47de4491e925.zip |
compiler warnings fixed
Diffstat (limited to 'src/day.c')
-rwxr-xr-x | src/day.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: day.c,v 1.25 2007/07/28 13:11:42 culot Exp $ */ +/* $calcurse: day.c,v 1.26 2007/07/29 20:59:09 culot Exp $ */ /* * Calcurse - text-based organizer @@ -229,7 +229,7 @@ day_store_recur_apoints(long date) * The number of events and appointments in the current day are also updated. */ static int -day_store_items(long date, int *pnb_events, int *pnb_apoints) +day_store_items(long date, unsigned *pnb_events, unsigned *pnb_apoints) { int pad_length; int nb_events, nb_recur_events; @@ -466,7 +466,7 @@ day_edit_item(int item_num) struct day_item_s *p; struct recur_event_s *re; - struct rpt_s *rpt; + struct rpt_s *rpt = 0L; struct tm *lt; time_t t; date_t new_date; |