fix minor compil warnings
This commit is contained in:
parent
3afef4e19d
commit
917bda1c64
|
@ -2747,7 +2747,7 @@ void BOARD::ReplaceNetlist( NETLIST& aNetlist, bool aDeleteSinglePadNets,
|
|||
++padCount[net];
|
||||
}
|
||||
|
||||
for( i = 0; i < connAlgo->NetCount(); ++i )
|
||||
for( i = 0; i < (unsigned)connAlgo->NetCount(); ++i )
|
||||
{
|
||||
// First condition: only one pad in the net
|
||||
if( padCount[i] == 1 )
|
||||
|
|
|
@ -568,7 +568,7 @@ const std::vector<BOARD_CONNECTED_ITEM*> CONNECTIVITY_DATA::GetConnectedItems(
|
|||
|
||||
RN_NET* CONNECTIVITY_DATA::GetRatsnestForNet( int aNet )
|
||||
{
|
||||
if ( aNet < 0 || aNet >= m_nets.size() )
|
||||
if ( aNet < 0 || aNet >= (int)m_nets.size() )
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue