summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-06 17:03:02 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-06 17:03:02 +0800
commit82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80 (patch)
treec1cc14425fb3f3782b1a59ade16b917dde763186 /mbbsd
parenta2ab3f51c0451a715fc57be7379a87ce547869ff (diff)
downloadpttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar
pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar.gz
pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar.bz2
pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar.lz
pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar.xz
pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.tar.zst
pttbbs-82fd073915e8fd8a38ce5a7c7bf0836e0e1b2c80.zip
outta_swap
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@456 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 9f20b645..7001f730 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.47 2002/08/06 08:58:25 in2 Exp $ */
+/* $Id: board.c,v 1.48 2002/08/06 09:03:02 in2 Exp $ */
#include "bbs.h"
#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
@@ -1018,11 +1018,11 @@ choose_board(int newflag)
if (!(ptr->myattr & BRD_ZAP))
zapbuf[ptr->bid - 1] = now;
#ifdef OUTTA_CACHE
- outta_swapout(&nbrd, nbrdlength, 'b');
+ outta_swapout((void **)&nbrd, nbrdlength, 'b');
#endif
Read();
#ifdef OUTTA_CACHE
- outta_swapin(&nbrd, nbrdlength, 'b');
+ outta_swapin((void **)&nbrd, nbrdlength, 'b');
ptr = &nbrd[num];
#endif
check_newpost(ptr);