fix warning

This commit is contained in:
Steve Checkoway
2004-06-06 20:27:52 +00:00
parent c3d9e8883c
commit d7e4964cf6
+1 -1
View File
@@ -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 );