summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-14 16:35:54 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-14 16:35:54 +0800
commit155b3632c418a8a7c25fc9fb4c2dbe684b0aa29f (patch)
treee7a2fcdfd89e6fa1d1c53edf2ea92fdcf218f839 /mbbsd/cache.c
parentc465925682db6fe601b1292dead369cd68c85ecb (diff)
downloadpttbbs-155b3632c418a8a7c25fc9fb4c2dbe684b0aa29f.tar
pttbbs-155b3632c418a8a7c25fc9fb4c2dbe684b0aa29f.tar.gz
pttbbs-155b3632c418a8a7c25fc9fb4c2dbe684b0aa29f.tar.bz2
pttbbs-155b3632c418a8a7c25fc9fb4c2dbe684b0aa29f.tar.lz
pttbbs-155b3632c418a8a7c25fc9fb4c2dbe684b0aa29f.tar.xz
pttbbs-155b3632c418a8a7c25fc9fb4c2dbe684b0aa29f.tar.zst
pttbbs-155b3632c418a8a7c25fc9fb4c2dbe684b0aa29f.zip
commit local change of {read,write}_favrec, which solved the problem of pointer size in 32 and 64-bit arch
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2509 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 7976342e..786db7aa 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -605,7 +605,7 @@ void addbrd_touchcache(void)
void
reset_board(int bid) /* XXXbid: from 1 */
{ /* Ptt: 這樣就不用老是touch board了 */
- int fd, nuser;
+ int fd;
boardheader_t *bhdr;
if (--bid < 0)