mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 09:47:46 +00:00
Fix a MSVC warning
warning C4805: '|' : unsafe mix of type 'Bitboard' and type 'bool' in operation No functional change.
This commit is contained in:
+1
-1
@@ -147,7 +147,7 @@ namespace {
|
||||
// If the pawn is passed, isolated, connected or a lever it cannot be
|
||||
// backward. If there are friendly pawns behind on adjacent files
|
||||
// it cannot be backward either.
|
||||
if ( (passed | isolated | connected | lever)
|
||||
if ( (passed | isolated | lever | connected)
|
||||
|| (ourPawns & pawn_attack_span(Them, s)))
|
||||
backward = false;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user