From: protonspring Date: Sat, 8 Dec 2018 18:08:21 +0000 (-0700) Subject: add paren. X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=090e49547ecaba8c9ec696d75f2fca3020bb058a add paren. --- diff --git a/src/bitboard.h b/src/bitboard.h index f8440a23..37585bb1 100644 --- a/src/bitboard.h +++ b/src/bitboard.h @@ -136,7 +136,7 @@ constexpr bool more_than_one(Bitboard b) { } 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