diff --git a/stepmania/src/CourseEntryDisplay.cpp b/stepmania/src/CourseEntryDisplay.cpp index 19814c278e..a219ca3fe5 100644 --- a/stepmania/src/CourseEntryDisplay.cpp +++ b/stepmania/src/CourseEntryDisplay.cpp @@ -97,7 +97,7 @@ void CourseEntryDisplay::SetFromGameState( int iCourseEntryIndex ) FOREACH_PlayerNumber( p ) { Trail *pTrail = GAMESTATE->m_pCurTrail[p]; - if( pTrail && iCourseEntryIndex < pTrail->m_vEntries.size() ) + if( pTrail && iCourseEntryIndex < (int) pTrail->m_vEntries.size() ) { tes[p] = &pTrail->m_vEntries[iCourseEntryIndex]; ces[p] = &pCourse->m_vEntries[iCourseEntryIndex];