From d7e4964cf6f00b3672731fef478737a1ca943824 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 6 Jun 2004 20:27:52 +0000 Subject: [PATCH] fix warning --- stepmania/src/CourseContentsList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/CourseContentsList.cpp b/stepmania/src/CourseContentsList.cpp index 682c39d203..ef0746093b 100644 --- a/stepmania/src/CourseContentsList.cpp +++ b/stepmania/src/CourseContentsList.cpp @@ -81,7 +81,7 @@ void CourseContentsList::SetFromGameState() Trail* pTrail = GAMESTATE->m_pCurTrail[pn]; if( pTrail == NULL ) continue; // skip - if( i < pTrail->m_vEntries.size() ) + if( unsigned(i) < pTrail->m_vEntries.size() ) pte[pn] = &pTrail->m_vEntries[i]; } display.LoadFromTrailEntry( m_iNumContents+1, pte );