fix warning

This commit is contained in:
Glenn Maynard
2005-05-28 21:55:47 +00:00
parent 720ba40a94
commit 46bd5e4c65
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ void NotesWriterSM::WriteGlobalTags( RageFile &f, const Song &out )
}
f.PutLine( ";" );
for( unsigned b=0; b<NUM_BACKGROUND_LAYERS; b++ )
for( int b=0; b<NUM_BACKGROUND_LAYERS; b++ )
{
if( b==0 )
f.Write( "#BGCHANGES:" );
+1 -1
View File
@@ -1212,7 +1212,7 @@ bool Song::HasBackground() const {return m_sBackgroundFile != "" && IsAFile(G
bool Song::HasCDTitle() const {return m_sCDTitleFile != "" && IsAFile(GetCDTitlePath()); }
bool Song::HasBGChanges() const
{
for( unsigned i=0; i<NUM_BACKGROUND_LAYERS; i++ )
for( int i=0; i<NUM_BACKGROUND_LAYERS; i++ )
{
if( !m_BackgroundChanges[i].empty() )
return true;
@@ -83,7 +83,7 @@ CString BacktraceNames::Format() const
ShortenedPath = CString("(") + ShortenedPath + ")";
}
CString ret = ssprintf( "%0*lx: ", int(sizeof(void*)*2), Address );
CString ret = ssprintf( "%0*lx: ", int(sizeof(void*)*2), (long) Address );
if( Symbol != "" )
ret += Symbol + " ";
ret += ShortenedPath;