Fix a minor compil warning

This commit is contained in:
jean-pierre charras 2018-12-07 11:22:03 +01:00
parent 5b3202d8f3
commit f1c1c5db3f
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ void PANEL_EESCHEMA_TEMPLATE_FIELDNAMES::OnDeleteButtonClick( wxCommandEvent& ev
int curRow = m_grid->GetGridCursorRow(); int curRow = m_grid->GetGridCursorRow();
if( curRow >= 0 && curRow < m_fields.size() ) if( curRow >= 0 && curRow < (int)m_fields.size() )
{ {
m_fields.erase( m_fields.begin() + curRow ); m_fields.erase( m_fields.begin() + curRow );
m_grid->DeleteRows( curRow ); m_grid->DeleteRows( curRow );