]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
Factor out pawn attacks in 'lever'
[stockfish] / src / position.cpp
index 982352c51b74bbde4f91d0f4f34f8a84e78c33e8..2d5119389b989c0719c1514dd330ad7ddbeeca81 100644 (file)
@@ -226,7 +226,7 @@ void Position::set(const string& fenStr, bool isChess960, Thread* th) {
       incremented after Black's move.
 */
 
-  char col, row, token;
+  unsigned char col, row, token;
   size_t idx;
   Square sq = SQ_A8;
   std::istringstream ss(fenStr);