From f54745f8daebf271a9956379893cdddad5397d97 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 12 Aug 2005 04:05:19 +0000 Subject: [PATCH] fix warning --- stepmania/src/CourseEntryDisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];