Explicit bools for MS
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6146
This commit is contained in:
parent
59f3fefd17
commit
50cff57b9a
|
@ -469,7 +469,7 @@ int ERC_TESTER::TestPinToPin()
|
||||||
needsDriver = refPin;
|
needsDriver = refPin;
|
||||||
}
|
}
|
||||||
|
|
||||||
hasDriver |= DrivingPinTypes.count( refType );
|
hasDriver |= ( DrivingPinTypes.count( refType ) != 0 );
|
||||||
|
|
||||||
for( SCH_PIN* testPin : pins )
|
for( SCH_PIN* testPin : pins )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue