Fix crash.

This commit is contained in:
Steve Checkoway
2005-10-30 23:59:12 +00:00
parent 0f0caf7972
commit 7a3887c1c1
+1 -1
View File
@@ -510,7 +510,7 @@ void BackgroundImpl::LoadFromSong( const Song* pSong )
switch( PREFSMAN->m_RandomBackgroundMode )
{
default:
ASSERT_M( 0, ssprintf("Invalid RandomBackgroundMode: %i", PREFSMAN->m_RandomBackgroundMode) );
ASSERT_M( 0, ssprintf("Invalid RandomBackgroundMode: %i", int(PREFSMAN->m_RandomBackgroundMode)) );
break;
case PrefsManager::BGMODE_OFF:
break;