fix warnings

This commit is contained in:
Glenn Maynard
2003-10-14 21:10:40 +00:00
parent 668d1974f3
commit 5a5e44adfd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ public:
void AddHighScore( HighScore hs, int &iIndexOut ) void AddHighScore( HighScore hs, int &iIndexOut )
{ {
for( int i=0; i<vHighScores.size() && i<NUM_RANKING_LINES; i++ ) for( int i=0; i<(int)vHighScores.size() && i<NUM_RANKING_LINES; i++ )
{ {
if( hs > vHighScores[i] ) if( hs > vHighScores[i] )
{ {
+1 -1
View File
@@ -110,7 +110,7 @@ public:
void AddHighScore( HighScore hs, int &iIndexOut ) void AddHighScore( HighScore hs, int &iIndexOut )
{ {
for( int i=0; i<vHighScores.size() && i<NUM_RANKING_LINES; i++ ) for( int i=0; i<(int)vHighScores.size() && i<NUM_RANKING_LINES; i++ )
{ {
if( hs > vHighScores[i] ) if( hs > vHighScores[i] )
{ {
+1 -1
View File
@@ -95,7 +95,7 @@ public:
void AddHighScore( MemCardData::HighScore hs, int &iIndexOut ) void AddHighScore( MemCardData::HighScore hs, int &iIndexOut )
{ {
for( int i=0; i<vHighScores.size() && i<NUM_RANKING_LINES; i++ ) for( int i=0; i<(int)vHighScores.size() && i<NUM_RANKING_LINES; i++ )
{ {
if( hs > vHighScores[i] ) if( hs > vHighScores[i] )
{ {