summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
author(no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-28 16:50:12 +0800
committer(no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-28 16:50:12 +0800
commitdc2395e403af70aa488f3d944c9ba8ddee95c1e1 (patch)
tree4deb6735fc890d0fa22a72d2a669d6efce11fb0d /mbbsd/admin.c
parent2c3e0a25796cf513b5bde805cc2c2dc369ab67f6 (diff)
downloadpttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar.gz
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar.bz2
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar.lz
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar.xz
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar.zst
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.zip
warning free
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index ccc3fe89..99c87621 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1,4 +1,4 @@
-/* $Id: admin.c,v 1.44 2003/06/28 08:51:14 kcwu Exp $ */
+/* $Id$ */
#include "bbs.h"
/* 使用者管理 */
@@ -1083,7 +1083,7 @@ give_id_money(char *user_id, int money, FILE * log_fp, char *mail_title, time_t
prints("id:%s money:%d 不對吧!!", user_id, money);
pressanykey();
} else {
- fprintf(log_fp, "%ld %s %d", t, user_id, money);
+ fprintf(log_fp, "%d %s %d", (int)t, user_id, money);
snprintf(tt, sizeof(tt), "%s : %d ptt 幣", mail_title, money);
mail_id(user_id, tt, "~bbs/etc/givemoney.why", "[PTT 銀行]");
}