fix warnings

This commit is contained in:
Glenn Maynard
2003-09-01 01:47:47 +00:00
parent 6f3edb3cc9
commit 985a040f49
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1396,14 +1396,14 @@ void ScreenGameplay::UpdateAutoPlayText()
void SaveChanges( void* papSongsQueue )
{
vector<Song*>& apSongsQueue = *(vector<Song*>*)papSongsQueue;
for( int i=0; i<apSongsQueue.size(); i++ )
for( unsigned i=0; i<apSongsQueue.size(); i++ )
apSongsQueue[i]->Save();
}
void RevertChanges( void* papSongsQueue )
{
vector<Song*>& apSongsQueue = *(vector<Song*>*)papSongsQueue;
for( int i=0; i<apSongsQueue.size(); i++ )
for( unsigned i=0; i<apSongsQueue.size(); i++ )
apSongsQueue[i]->RevertFromDisk();
}
+1 -1
View File
@@ -130,7 +130,7 @@ void ScreenOptions::Init( InputMode im, OptionRow OptionRow[], int iNumOptionLin
m_framePage.AddChild( &m_textTitles[r] );
int iNumChoices = min( m_OptionRow[r].choices.size(), MAX_VISIBLE_VALUES_PER_LINE );
for( unsigned c=0; c<iNumChoices; c++ )
for( int c=0; c<iNumChoices; c++ )
{
m_framePage.AddChild( &m_textItems[r][c] );
}