fixed very minor compil warning

This commit is contained in:
jean-pierre charras 2010-07-20 20:20:06 +02:00
parent b102776b5f
commit e286b6f81d
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ void DIALOG_EESCHEMA_CONFIG::OnRemoveLibClick( wxCommandEvent& event )
if( m_ListLibr->GetCount() > 0 && selections.GetCount() > 0 )
{
int pos = selections[selections.GetCount()-1];
if( pos == m_ListLibr->GetCount() )
if( pos == (int)m_ListLibr->GetCount() )
pos = m_ListLibr->GetCount() - 1;
m_ListLibr->SetSelection( pos );
}