aboutsummaryrefslogtreecommitdiffstats
path: root/src/day.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-07-29 20:59:09 +0000
committerFrederic Culot <calcurse@culot.org>2007-07-29 20:59:09 +0000
commit2767b1f0e9cdb4193f3682ad94bd47de4491e925 (patch)
tree295eb62c1d0c3c70d0e938f185cee3c4efac8906 /src/day.c
parentfa87c918480a3ef6449a4d2decc20e455c133477 (diff)
downloadcalcurse-2767b1f0e9cdb4193f3682ad94bd47de4491e925.tar.gz
calcurse-2767b1f0e9cdb4193f3682ad94bd47de4491e925.zip
compiler warnings fixed
Diffstat (limited to 'src/day.c')
-rwxr-xr-xsrc/day.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/day.c b/src/day.c
index 0ed71dc..c00c150 100755
--- a/src/day.c
+++ b/src/day.c
@@ -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;