summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-01 01:40:52 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-01 01:40:52 +0800
commitce591a73e5bafcf08b93da768b8c76c5e824f599 (patch)
tree416921f99fdfb349e7f0a6655cae28e1e87d67c7 /mbbsd/user.c
parent5507859f58d2a4dd6ff14f441c5c0f51ed4c5928 (diff)
downloadpttbbs-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/user.c')
-rw-r--r--mbbsd/user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 5de29e36..e3bb1f89 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.43 2002/12/26 09:46:04 kcwu Exp $ */
+/* $Id: user.c,v 1.44 2002/12/31 17:40:52 in2 Exp $ */
#include "bbs.h"
static char *sex[8] = {
@@ -295,7 +295,7 @@ uinfo_query(userec_t * u, int real, int unum)
snprintf(genbuf, sizeof(genbuf), "%d", x.money);
if (getdata_str(i++, 0, "»È¦æ±b¤á¡G", buf, 10, DOECHO, genbuf))
if ((l = atol(buf)) != 0) {
- if (l != x.money) {
+ if (l != (unsigned)x.money) {
money_change = 1;
money = x.money;
x.money = l;
@@ -425,7 +425,7 @@ uinfo_query(userec_t * u, int real, int unum)
case '3':
i = setperms(x.userlevel, str_permid);
- if (i == x.userlevel)
+ if ((unsigned)i == x.userlevel)
fail++;
else {
flag = 1;