diff options
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/algcheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/algcheck.c b/FICS/algcheck.c index 6b79756..b7c7914 100644 --- a/FICS/algcheck.c +++ b/FICS/algcheck.c @@ -444,7 +444,7 @@ alg_unparse(game_state_t *gs, move_t *mt) strcat(mStr, "x"); } - sprintf(tmp, "%c%d", mt->toFile + 'a', mt->toRank + 1); + sprintf(tmp, "%c%d", (mt->toFile + 'a'), (mt->toRank + 1)); strcat(mStr, tmp); if (piece == PAWN && mt->piecePromotionTo != NOPIECE) { |