summaryrefslogtreecommitdiffstats
path: root/mbbsd/go.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-07 11:39:00 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-07 11:39:00 +0800
commitd898d4442cdba7888997640a7e1271b192d73341 (patch)
tree39daabc8e7a1e0d0659dfb345f817526aababa44 /mbbsd/go.c
parentac61497ab12220a3790c805a7f968d559d33721d (diff)
downloadpttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar
pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.gz
pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.bz2
pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.lz
pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.xz
pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.zst
pttbbs-d898d4442cdba7888997640a7e1271b192d73341.zip
warning free, make gcc 4.0 happy
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/go.c')
-rw-r--r--mbbsd/go.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/go.c b/mbbsd/go.c
index e3bc0418..f6d87de7 100644
--- a/mbbsd/go.c
+++ b/mbbsd/go.c
@@ -843,7 +843,7 @@ gochess(int fd)
output(buf, n);
//move(6, 46);
n = sprintf(buf, ANSI_MOVETO(7,47) "%s ¤è®É¶¡¡G%02d:%02d ",
- bw_chess[gd.he - 1], htime / 60, htime % 60);
+ bw_chess[gd.he - 1], (int)htime / 60, (int)htime % 60);
if (hhand <= 25)
n += sprintf(buf + n, "%2d ¤â", 25 - hhand);
output(buf, n);