From 1aef129a2420f000a0277692884eb9678c4d15e3 Mon Sep 17 00:00:00 2001
From: Markus Uhlin <markus@nifty-networks.net>
Date: Sat, 23 Dec 2023 17:29:55 +0100
Subject: Added parentheses

---
 FICS/board.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'FICS')

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
 
-- 
cgit v1.2.3