Fix warning.

This commit is contained in:
Steve Checkoway
2004-10-05 10:36:11 +00:00
parent 30a1b81014
commit ca6887e5f8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -549,7 +549,7 @@ bool BMSLoader::LoadFromDir( CString sDir, Song &out )
sWavID.MakeUpper(); // HACK: undo the MakeLower()
out.m_vsKeysoundFile.push_back( value_data );
mapWavIdToKeysoundIndex[ sWavID ] = out.m_vsKeysoundFile.size()-1;
LOG->Trace( "Inserting keysound index %u '%s'", out.m_vsKeysoundFile.size()-1, sWavID.c_str() );
LOG->Trace( "Inserting keysound index %lu '%s'", out.m_vsKeysoundFile.size()-1, sWavID.c_str() );
}
else if( value_name.size() == 6 && value_name[0] == '#'
&& IsAnInt( value_name.substr(1,3) )
+1 -1
View File
@@ -681,7 +681,7 @@ void SetupExtensions()
/* The minimum GL_MAX_PIXEL_MAP_TABLE is 32; if it's not at least 256,
* we can't fit a palette in it, so we can't send paletted data as input
* for a non-paletted texture. */
LOG->Info( "GL_MAX_PIXEL_MAP_TABLE is only %i", iMaxTableSize );
LOG->Info( "GL_MAX_PIXEL_MAP_TABLE is only %d", int(iMaxTableSize) );
g_bColorIndexTableWorks = false;
}
else