fix warnings
This commit is contained in:
@@ -1396,14 +1396,14 @@ void ScreenGameplay::UpdateAutoPlayText()
|
|||||||
void SaveChanges( void* papSongsQueue )
|
void SaveChanges( void* papSongsQueue )
|
||||||
{
|
{
|
||||||
vector<Song*>& apSongsQueue = *(vector<Song*>*)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();
|
apSongsQueue[i]->Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RevertChanges( void* papSongsQueue )
|
void RevertChanges( void* papSongsQueue )
|
||||||
{
|
{
|
||||||
vector<Song*>& apSongsQueue = *(vector<Song*>*)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();
|
apSongsQueue[i]->RevertFromDisk();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ void ScreenOptions::Init( InputMode im, OptionRow OptionRow[], int iNumOptionLin
|
|||||||
m_framePage.AddChild( &m_textTitles[r] );
|
m_framePage.AddChild( &m_textTitles[r] );
|
||||||
|
|
||||||
int iNumChoices = min( m_OptionRow[r].choices.size(), MAX_VISIBLE_VALUES_PER_LINE );
|
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] );
|
m_framePage.AddChild( &m_textItems[r][c] );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user