fix minor compil warnings

This commit is contained in:
jean-pierre charras 2017-07-01 10:40:18 +02:00
parent 3afef4e19d
commit 917bda1c64
2 changed files with 2 additions and 2 deletions

View File

@ -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 )

View File

@ -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;
}