diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-01-24 18:36:33 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-01-24 18:36:33 +0800 |
commit | 8999cf9ce4f31a052952545a8ca6ad94b355a6b8 (patch) | |
tree | 578bbfc9a66bd65059b0b156e016f3665607ab7e /mbbsd/merge.c | |
parent | 3a0e713966abc5096a05d4294cc71a15bd71233c (diff) | |
download | pttbbs-8999cf9ce4f31a052952545a8ca6ad94b355a6b8.tar pttbbs-8999cf9ce4f31a052952545a8ca6ad94b355a6b8.tar.gz pttbbs-8999cf9ce4f31a052952545a8ca6ad94b355a6b8.tar.bz2 pttbbs-8999cf9ce4f31a052952545a8ca6ad94b355a6b8.tar.lz pttbbs-8999cf9ce4f31a052952545a8ca6ad94b355a6b8.tar.xz pttbbs-8999cf9ce4f31a052952545a8ca6ad94b355a6b8.tar.zst pttbbs-8999cf9ce4f31a052952545a8ca6ad94b355a6b8.zip |
fix type
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2424 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/merge.c')
-rw-r--r-- | mbbsd/merge.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/merge.c b/mbbsd/merge.c index 2f45314a..7694f4a6 100644 --- a/mbbsd/merge.c +++ b/mbbsd/merge.c @@ -90,10 +90,10 @@ m_sob() "您的沙灘鸚鵡螺 %10d 換算成 Ptt 幣為 %9d (匯率 22:1), \n" " 沙灘貝殼有 %10d 換算為 Ptt 幣為 %9d (匯率 222105:1), \n" " 原有P幣 %10d 匯入後共有 %d\n", - man.goldmoney, man.goldmoney/22, - man.silvermoney, man.silvermoney/222105, - cuser.money, cuser.money + man.goldmoney/22 + - man.silvermoney/222105); + (int)man.goldmoney, (int)man.goldmoney/22, + (int)man.silvermoney, (int)man.silvermoney/222105, + cuser.money, + (int)(cuser.money + man.goldmoney/22 + man.silvermoney/222105)); demoney(man.goldmoney/22 + man.silvermoney/222105 ); strcat(msg, buf); #endif |