From a7592e69d728ac839f098f2ba17285c998a95839 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 31 Jan 2015 10:19:00 +0100 Subject: [PATCH] Fix a MSVC warning warning C4805: '|' : unsafe mix of type 'Bitboard' and type 'bool' in operation No functional change. --- src/pawns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2