fix warning
This commit is contained in:
@@ -82,7 +82,7 @@ void NotesWriterSM::WriteGlobalTags( RageFile &f, const Song &out )
|
|||||||
}
|
}
|
||||||
f.PutLine( ";" );
|
f.PutLine( ";" );
|
||||||
|
|
||||||
for( unsigned b=0; b<NUM_BACKGROUND_LAYERS; b++ )
|
for( int b=0; b<NUM_BACKGROUND_LAYERS; b++ )
|
||||||
{
|
{
|
||||||
if( b==0 )
|
if( b==0 )
|
||||||
f.Write( "#BGCHANGES:" );
|
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::HasCDTitle() const {return m_sCDTitleFile != "" && IsAFile(GetCDTitlePath()); }
|
||||||
bool Song::HasBGChanges() const
|
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() )
|
if( !m_BackgroundChanges[i].empty() )
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ CString BacktraceNames::Format() const
|
|||||||
ShortenedPath = CString("(") + ShortenedPath + ")";
|
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 != "" )
|
if( Symbol != "" )
|
||||||
ret += Symbol + " ";
|
ret += Symbol + " ";
|
||||||
ret += ShortenedPath;
|
ret += ShortenedPath;
|
||||||
|
|||||||
Reference in New Issue
Block a user