Fix warnings.

This commit is contained in:
Steve Checkoway
2005-12-23 09:51:09 +00:00
parent 81559b2916
commit 4e84abb2b6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ void DWILoader::DWIcharToNoteCol( char c, GameController i, int &col1Out, int &c
* it's most likely a jump. Search for a 0 before the next >: */
bool DWILoader::Is192( const CString &sStepData, size_t pos )
{
while( pos < (int) sStepData.size() )
while( pos < sStepData.size() )
{
if( sStepData[pos] == '>' )
return false;
+1 -1
View File
@@ -127,7 +127,7 @@ bool KSFLoader::LoadFromKSFFile( const CString &sPath, Steps &out, const Song &s
out.m_StepsType = STEPS_TYPE_PUMP_SINGLE;
/* Check for "halfdouble" before "double". */
if( sFName.find("halfdouble") != -1 || sFName.find("h_double") != string::npos )
if( sFName.find("halfdouble") != string::npos || sFName.find("h_double") != string::npos )
out.m_StepsType = STEPS_TYPE_PUMP_HALFDOUBLE;
else if( sFName.find("double") != string::npos )
out.m_StepsType = STEPS_TYPE_PUMP_DOUBLE;