Fixing signed/unsigned warning

This commit is contained in:
Seth Hillbrand 2018-05-17 16:47:51 -07:00
parent 85921535b3
commit d09445cf34
1 changed files with 2 additions and 2 deletions

View File

@ -818,13 +818,13 @@ wxString SCH_REFERENCE_LIST::Shorthand( std::vector<SCH_REFERENCE> aList )
return RefDesStringCompare( lhRef, rhRef ) < 0;
} );
int i = 0;
size_t i = 0;
while( i < aList.size() )
{
wxString ref = aList[ i ].GetRef();
int j = i;
size_t j = i;
while( j + 1 < aList.size() && aList[ j + 1 ].GetRef() == ref )
j = j + 1;