aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-23 17:29:55 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-23 17:29:55 +0100
commit1aef129a2420f000a0277692884eb9678c4d15e3 (patch)
treed8e280bac2c90bc4bbce652ed96d375f08897de7 /FICS
parent19540410c0938d3ebe8965623be66d4c2e12f939 (diff)
Added parentheses
Diffstat (limited to 'FICS')
-rw-r--r--FICS/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FICS/board.c b/FICS/board.c
index 5cdd73e..239d2e5 100644
--- a/FICS/board.c
+++ b/FICS/board.c
@@ -857,7 +857,7 @@ board_read_file(char *category, char *gname, game_state_t *gs)
case 'f':
case 'g':
case 'h':
- onFile = c - 'a';
+ onFile = (c - 'a');
onRank = -1;
break;
case '1':
@@ -868,7 +868,7 @@ board_read_file(char *category, char *gname, game_state_t *gs)
case '6':
case '7':
case '8':
- onRank = c - '1';
+ onRank = (c - '1');
if (onFile >= 0 &&
onColor >= 0 &&
@@ -890,7 +890,7 @@ board_read_file(char *category, char *gname, game_state_t *gs)
break;
default:
break;
- }
+ } // switch
}
} // while