fix warning
This commit is contained in:
@@ -586,7 +586,7 @@ bool BitmapText::StringWillUseAlternate( const CString& sText, const CString& sA
|
|||||||
void BitmapText::SetMaxLines( int iNumLines, int iDirection )
|
void BitmapText::SetMaxLines( int iNumLines, int iDirection )
|
||||||
{
|
{
|
||||||
iNumLines = MAX( 0, iNumLines );
|
iNumLines = MAX( 0, iNumLines );
|
||||||
iNumLines = MIN( m_wTextLines.size(), iNumLines );
|
iNumLines = MIN( (int)m_wTextLines.size(), iNumLines );
|
||||||
if ( iDirection == 0 )
|
if ( iDirection == 0 )
|
||||||
{
|
{
|
||||||
//Crop all bottom lines
|
//Crop all bottom lines
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ void ScreenNameEntryTraditional::Init()
|
|||||||
PROFILEMAN->GetMachineProfile()->GetCourseHighScoreList(pCourse,pTrail) :
|
PROFILEMAN->GetMachineProfile()->GetCourseHighScoreList(pCourse,pTrail) :
|
||||||
PROFILEMAN->GetMachineProfile()->GetStepsHighScoreList(pSong,pSteps);
|
PROFILEMAN->GetMachineProfile()->GetStepsHighScoreList(pSong,pSteps);
|
||||||
|
|
||||||
for( unsigned h=0; h<hsl.vHighScores.size() && h<PREFSMAN->m_iMaxHighScoresPerListForMachine; h++ )
|
for( int h=0; h<(int)hsl.vHighScores.size() && h<PREFSMAN->m_iMaxHighScoresPerListForMachine; h++ )
|
||||||
{
|
{
|
||||||
const HighScore &hs = hsl.vHighScores[h];
|
const HighScore &hs = hsl.vHighScores[h];
|
||||||
if( hs.sName == RANKING_TO_FILL_IN_MARKER[p] &&
|
if( hs.sName == RANKING_TO_FILL_IN_MARKER[p] &&
|
||||||
|
|||||||
Reference in New Issue
Block a user