summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-10 23:01:46 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-10 23:01:46 +0800
commitcaea2718563faf4b5b0028d5a44c4505898b7e67 (patch)
tree338d3e632a828d94a360353c9e291a5bad30577c /util
parent9b9644a3e326d33d2a9c3e79055803875dc494ff (diff)
downloadpttbbs-caea2718563faf4b5b0028d5a44c4505898b7e67.tar
pttbbs-caea2718563faf4b5b0028d5a44c4505898b7e67.tar.gz
pttbbs-caea2718563faf4b5b0028d5a44c4505898b7e67.tar.bz2
pttbbs-caea2718563faf4b5b0028d5a44c4505898b7e67.tar.lz
pttbbs-caea2718563faf4b5b0028d5a44c4505898b7e67.tar.xz
pttbbs-caea2718563faf4b5b0028d5a44c4505898b7e67.tar.zst
pttbbs-caea2718563faf4b5b0028d5a44c4505898b7e67.zip
- fix bug: board active user limit (may exceed 32768)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/shmctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/shmctl.c b/util/shmctl.c
index 1b959eb1..4e8c0ef1 100644
--- a/util/shmctl.c
+++ b/util/shmctl.c
@@ -373,7 +373,8 @@ inline void utmpsort(int sortall)
{
userinfo_t *uentp;
int count, i, ns;
- short nusers[MAX_BOARD];
+ // 2008 Baseball event ¦¨¥\Åý short Ãz±¼
+ int nusers[MAX_BOARD];
SHM->UTMPbusystate = 1;