From c9067dec65dc70454c413bb28fdc49cf076b3109 Mon Sep 17 00:00:00 2001 From: Sean Burke Date: Sat, 13 Nov 2004 22:01:59 +0000 Subject: [PATCH] fix unsigned warnings --- stepmania/src/NotesLoaderBMS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/NotesLoaderBMS.cpp b/stepmania/src/NotesLoaderBMS.cpp index 7ac3ae9d65..654a3f5f8d 100644 --- a/stepmania/src/NotesLoaderBMS.cpp +++ b/stepmania/src/NotesLoaderBMS.cpp @@ -124,7 +124,7 @@ static CString FindLargestInitialSubstring( CString string1, CString string2 ) // First see if the whole first string matches an appropriately-sized // substring of the second, then keep chopping off the last character of // each until they match. - int i; + unsigned i; for( i = 0; i < string1.size() && i < string2.size(); ++i ) if( string1[i] != string2[i] ) break; @@ -621,7 +621,7 @@ void BMSLoader::ReadGlobalTags( const NameToData_t &mapNameToData, Song &out ) sWavID.MakeUpper(); // HACK: undo the MakeLower() out.m_vsKeysoundFile.push_back( sData ); m_mapWavIdToKeysoundIndex[ sWavID ] = out.m_vsKeysoundFile.size()-1; - LOG->Trace( "Inserting keysound index %lu '%s'", out.m_vsKeysoundFile.size()-1, sWavID.c_str() ); + LOG->Trace( "Inserting keysound index %u '%s'", out.m_vsKeysoundFile.size()-1, sWavID.c_str() ); } /* Time signature tags affect all other global timing tags, so read them first. */