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/chc_draw.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/chc_draw.c')
-rw-r--r-- | mbbsd/chc_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/chc_draw.c b/mbbsd/chc_draw.c index 8c7e556b..a3cda935 100644 --- a/mbbsd/chc_draw.c +++ b/mbbsd/chc_draw.c @@ -1,4 +1,4 @@ -/* $Id: chc_draw.c,v 1.4 2002/07/21 09:26:02 in2 Exp $ */ +/* $Id: chc_draw.c,v 1.5 2002/12/31 17:40:51 in2 Exp $ */ #include "bbs.h" #define SIDE_ROW 10 @@ -131,7 +131,7 @@ chc_drawline(board_t board, int line) } outs(" "); - if (line >= 3 && line < 3 + dim(hint_str)) { + if (line >= 3 && line < 3 + (int)dim(hint_str)) { outs(hint_str[line - 3]); } else if (line == SIDE_ROW) { prints("\033[1m§AŽO%s%s\033[m", |