Quiet MSVC warning about bool OR int

This commit is contained in:
Marek Roszko 2020-10-24 00:50:37 -04:00
parent 1c0700fbc4
commit c173ea14b7
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ int ERC_TESTER::TestPinToPin()
ELECTRICAL_PINTYPE testType = testPin->GetType(); ELECTRICAL_PINTYPE testType = testPin->GetType();
hasDriver |= DrivingPinTypes.count( testType ); hasDriver |= ( DrivingPinTypes.count( testType ) != 0 );
PIN_ERROR erc = settings.GetPinMapValue( refType, testType ); PIN_ERROR erc = settings.GetPinMapValue( refType, testType );