]> git.sesse.net Git - stockfish/commitdiff
add paren.
authorprotonspring <mike@whiteley.org>
Sat, 8 Dec 2018 18:08:21 +0000 (11:08 -0700)
committerStéphane Nicolet <Stephane.Nicolet@u-paris2.fr>
Sun, 9 Dec 2018 11:59:57 +0000 (12:59 +0100)
src/bitboard.h

index f8440a23a1aaf3f71635c672200786573d26b2b7..37585bb19b18e8e25feb54120429b3177caa6da6 100644 (file)
@@ -136,7 +136,7 @@ constexpr bool more_than_one(Bitboard b) {
 }
 
 inline bool opposite_colors(Square s1, Square s2) {
 }
 
 inline bool opposite_colors(Square s1, Square s2) {
-  return bool(DarkSquares & s1) != bool(DarkSquares & s2);
+  return (bool(DarkSquares & s1) != bool(DarkSquares & s2));
 }
 
 /// rank_bb() and file_bb() return a bitboard representing all the squares on
 }
 
 /// rank_bb() and file_bb() return a bitboard representing all the squares on