aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-01-04 22:58:47 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-01-04 22:58:47 +0100
commitdd02887eedd79027fa0b3d969fead48a96bd14fe (patch)
treefadf8a6b5724c24666bf0261b1b6c5336c63ff08 /FICS
parent2f37b2f9b58f919ea999343bbbf47ab4151a9cc1 (diff)
Added parentheses
Diffstat (limited to 'FICS')
-rw-r--r--FICS/algcheck.c2
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) {