summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/chess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/chess.c b/mbbsd/chess.c
index 264b8553..c62b8b95 100644
--- a/mbbsd/chess.c
+++ b/mbbsd/chess.c
@@ -1434,8 +1434,8 @@ ChessPhotoInitial(ChessInfo* info)
info->constants->turn_str[(int) info->myturn ^ 1]);
strcpy(PHOTO(7), " ¢ä.¢á ");
sprintf(PHOTO(8), " %s%2.2s´Ñ" ANSI_RESET,
- info->constants->turn_color[info->myturn],
- info->constants->turn_str[info->myturn]);
+ info->constants->turn_color[(int) info->myturn],
+ info->constants->turn_str[(int) info->myturn]);
fp = NULL;
if(getuser(info->user1.userid, &xuser)) {;