fix warning

This commit is contained in:
Glenn Maynard
2004-01-03 04:38:17 +00:00
parent f00bb63423
commit c0c5665c14
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -594,9 +594,9 @@ void ScreenOptionsMaster::RefreshIcons()
if( iSelection >= (int)m_OptionRow[i].choices.size() )
{
/* Invalid selection. Send debug output, to aid debugging. */
CString error = ssprintf("Option row with name '%s' selects item %i, but there are only %lu items:\n",
CString error = ssprintf("Option row with name '%s' selects item %i, but there are only %i items:\n",
m_OptionRow[i].name.c_str(),
iSelection, m_OptionRow[i].choices.size() );
iSelection, (int) m_OptionRow[i].choices.size() );
for( unsigned j = 0; j < m_OptionRow[i].choices.size(); ++j )
error += ssprintf(" %s\n", m_OptionRow[i].choices[j].c_str());