Commit e286b6f8 authored by jean-pierre charras's avatar jean-pierre charras

fixed very minor compil warning

parent b102776b
...@@ -277,7 +277,7 @@ void DIALOG_EESCHEMA_CONFIG::OnRemoveLibClick( wxCommandEvent& event ) ...@@ -277,7 +277,7 @@ void DIALOG_EESCHEMA_CONFIG::OnRemoveLibClick( wxCommandEvent& event )
if( m_ListLibr->GetCount() > 0 && selections.GetCount() > 0 ) if( m_ListLibr->GetCount() > 0 && selections.GetCount() > 0 )
{ {
int pos = selections[selections.GetCount()-1]; int pos = selections[selections.GetCount()-1];
if( pos == m_ListLibr->GetCount() ) if( pos == (int)m_ListLibr->GetCount() )
pos = m_ListLibr->GetCount() - 1; pos = m_ListLibr->GetCount() - 1;
m_ListLibr->SetSelection( pos ); m_ListLibr->SetSelection( pos );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment