Fix minor compil warnings
This commit is contained in:
parent
75cda5021d
commit
e10f0c729b
|
@ -77,7 +77,7 @@ int WIDGET_NET_SELECTOR::GetSelectedNet()
|
||||||
|
|
||||||
bool WIDGET_NET_SELECTOR::IsUniqueNetSelected() const
|
bool WIDGET_NET_SELECTOR::IsUniqueNetSelected() const
|
||||||
{
|
{
|
||||||
if( m_multiple && ( GetSelection() == ( GetCount() - 1 ) ) )
|
if( m_multiple && ( GetSelection() == ( (int)GetCount() - 1 ) ) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -89,7 +89,7 @@ void WIDGET_NET_SELECTOR::SetBoard( BOARD* aBoard )
|
||||||
|
|
||||||
Append( wxT( "<no net>" ));
|
Append( wxT( "<no net>" ));
|
||||||
|
|
||||||
for(int i = 1; i < netinfo.GetNetCount(); i++)
|
for(unsigned i = 1; i < netinfo.GetNetCount(); i++)
|
||||||
{
|
{
|
||||||
NETINFO_ITEM *ni = netinfo.GetNetItem(i);
|
NETINFO_ITEM *ni = netinfo.GetNetItem(i);
|
||||||
NET n;
|
NET n;
|
||||||
|
|
Loading…
Reference in New Issue