summaryrefslogtreecommitdiffstats
path: root/mbbsd/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/calendar.c')
-rw-r--r--mbbsd/calendar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/calendar.c b/mbbsd/calendar.c
index 03cd84d6..c4b86e89 100644
--- a/mbbsd/calendar.c
+++ b/mbbsd/calendar.c
@@ -1,4 +1,4 @@
-/* $Id: calendar.c,v 1.6 2002/07/21 09:26:02 in2 Exp $ */
+/* $Id: calendar.c,v 1.7 2002/12/31 17:40:51 in2 Exp $ */
#include "bbs.h"
typedef struct event_t {
@@ -93,7 +93,7 @@ ParseColor(char *color)
};
int i;
- for (i = 0; i < sizeof(c) / sizeof(c[0]); i++)
+ for (i = 0; (unsigned)i < sizeof(c) / sizeof(c[0]); i++)
if (strcasecmp(color, c[i].str) == 0)
return c[i].val;
return 7;