diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-01-01 01:40:52 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-01-01 01:40:52 +0800 |
commit | ce591a73e5bafcf08b93da768b8c76c5e824f599 (patch) | |
tree | 416921f99fdfb349e7f0a6655cae28e1e87d67c7 /mbbsd/calendar.c | |
parent | 5507859f58d2a4dd6ff14f441c5c0f51ed4c5928 (diff) | |
download | pttbbs-ce591a73e5bafcf08b93da768b8c76c5e824f599.tar pttbbs-ce591a73e5bafcf08b93da768b8c76c5e824f599.tar.gz pttbbs-ce591a73e5bafcf08b93da768b8c76c5e824f599.tar.bz2 pttbbs-ce591a73e5bafcf08b93da768b8c76c5e824f599.tar.lz pttbbs-ce591a73e5bafcf08b93da768b8c76c5e824f599.tar.xz pttbbs-ce591a73e5bafcf08b93da768b8c76c5e824f599.tar.zst pttbbs-ce591a73e5bafcf08b93da768b8c76c5e824f599.zip |
make gcc33 happy
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/calendar.c')
-rw-r--r-- | mbbsd/calendar.c | 4 |
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; |