Fix debug assert.

This commit is contained in:
Jeff Young 2018-12-11 17:56:20 +00:00
parent 63d4afb3ee
commit 2c53ab3d8c
1 changed files with 3 additions and 2 deletions

View File

@ -708,8 +708,9 @@ void DIALOG_EDIT_COMPONENTS_LIBID::onClickOrphansButton( wxCommandEvent& event )
if( fixesCount < m_OrphansRowIndexes.size() ) // Not all orphan components are fixed if( fixesCount < m_OrphansRowIndexes.size() ) // Not all orphan components are fixed
{ {
wxMessageBox( wxString::Format( _( "%u link(s) mapped, %d not found" ), wxMessageBox( wxString::Format( _( "%u link(s) mapped, %u not found" ),
fixesCount, m_OrphansRowIndexes.size() - fixesCount ) ); fixesCount,
(unsigned) m_OrphansRowIndexes.size() - fixesCount ) );
} }
else else
wxMessageBox( wxString::Format( _( "All %u link(s) resolved" ), fixesCount ) ); wxMessageBox( wxString::Format( _( "All %u link(s) resolved" ), fixesCount ) );