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/board.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/board.c')
-rw-r--r-- | mbbsd/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index ddeef92e..87ebbeb2 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.65 2002/12/29 08:18:29 in2 Exp $ */ +/* $Id: board.c,v 1.66 2002/12/31 17:40:51 in2 Exp $ */ #include "bbs.h" #define BRC_STRLEN 15 /* Length of board name */ #define BRC_MAXSIZE 24576 @@ -324,7 +324,7 @@ save_brdbuf() if ( zapbuf != NULL ){ if( ( #ifdef MEM_CHECK - zapbuf[-1] == MEM_CHECK && + (unsigned)zapbuf[-1] == (unsigned)MEM_CHECK && #endif zapchange && (fd = open(fname, O_WRONLY | O_CREAT, 0600)) != -1) ){ @@ -343,7 +343,7 @@ save_brdbuf() if ( favbuf != NULL ){ if( ( #ifdef MEM_CHECK - ((int*)favbuf)[-1] == MEM_CHECK && + (unsigned)((int*)favbuf)[-1] == (unsigned)MEM_CHECK && #endif favchange && (fd = open(fname, O_WRONLY | O_CREAT, 0600)) != -1) ){ |