clean up some sign mismatches

This commit is contained in:
Glenn Maynard
2002-10-31 03:25:35 +00:00
parent 7e9905995d
commit 32bf482480
10 changed files with 22 additions and 25 deletions
+2 -3
View File
@@ -21,7 +21,7 @@ bool KSFLoader::LoadFromKSFFile( const CString &sPath, Notes &out )
int iTickCount = -1; // this is the value we read for TICKCOUNT
CString iStep; // this is the value we read for STEP
for( int i=0; i<msd.m_iNumValues; i++ )
for( unsigned i=0; i<msd.m_iNumValues; i++ )
{
CString* sParams = msd.m_sParams[i];
CString sValueName = sParams[0];
@@ -169,8 +169,7 @@ bool KSFLoader::LoadFromDir( CString sDir, Song &out )
if( !bResult )
throw RageException( "Error opening file '%s'.", sPath.GetString() );
// XXX msd::iNumValues should be unsigned
for( i=0; i<unsigned(msd.m_iNumValues); i++ )
for( i=0; i < msd.m_iNumValues; i++ )
{
CString* sParams = msd.m_sParams[i];
CString sValueName = sParams[0];