From: Marco Costalba Date: Sat, 31 Jan 2015 09:19:00 +0000 (+0100) Subject: Fix a MSVC warning X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=a7592e69d728ac839f098f2ba17285c998a95839;ds=sidebyside Fix a MSVC warning warning C4805: '|' : unsafe mix of type 'Bitboard' and type 'bool' in operation No functional change. --- diff --git a/src/pawns.cpp b/src/pawns.cpp index 798bc0a0..032b637e 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -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