---
 eeschema/sch_component.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eeschema/sch_component.cpp b/eeschema/sch_component.cpp
index ff7734e..554adb9 100644
--- a/eeschema/sch_component.cpp
+++ b/eeschema/sch_component.cpp
@@ -1789,7 +1789,7 @@ void SCH_COMPONENT::GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems,
 
             aNetListItems.push_back( item );
 
-            if( ( (int) pin->GetType() == (int) PIN_POWER_IN ) && !pin->IsVisible() )
+            if( ( pin->GetType() == PIN_POWER_IN ) && !pin->IsVisible() )
             {
                 // There is an associated PIN_LABEL.
                 item = new NETLIST_OBJECT();
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to