summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-12-26 17:46:04 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-12-26 17:46:04 +0800
commit36c134390f60ed96184dd3e3e7f6d28c2b5bbf5e (patch)
treeed2762e77057b325266f5413b4482d7b39a121c5 /mbbsd/user.c
parent86618fc1fff4cc2379bd65fe113e5586f34b4bc5 (diff)
downloadpttbbs-36c134390f60ed96184dd3e3e7f6d28c2b5bbf5e.tar
pttbbs-36c134390f60ed96184dd3e3e7f6d28c2b5bbf5e.tar.gz
pttbbs-36c134390f60ed96184dd3e3e7f6d28c2b5bbf5e.tar.bz2
pttbbs-36c134390f60ed96184dd3e3e7f6d28c2b5bbf5e.tar.lz
pttbbs-36c134390f60ed96184dd3e3e7f6d28c2b5bbf5e.tar.xz
pttbbs-36c134390f60ed96184dd3e3e7f6d28c2b5bbf5e.tar.zst
pttbbs-36c134390f60ed96184dd3e3e7f6d28c2b5bbf5e.zip
use gcc's extension to check format string
and make compiler happier git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index d3501822..5de29e36 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.42 2002/12/14 08:02:18 in2 Exp $ */
+/* $Id: user.c,v 1.43 2002/12/26 09:46:04 kcwu Exp $ */
#include "bbs.h"
static char *sex[8] = {
@@ -55,7 +55,7 @@ user_display(userec_t * u, int real)
" 居住住址: %s\n"
" 電子信箱: %s\n"
" 性 別: %s\n"
- " 銀行帳戶: %ld 銀兩\n",
+ " 銀行帳戶: %d 銀兩\n",
u->userid, u->username, u->realname, u->address, u->email,
sex[u->sex % 8], u->money);