fix warning
This commit is contained in:
@@ -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:" );
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user