Fix warning.
This commit is contained in:
@@ -549,7 +549,7 @@ bool BMSLoader::LoadFromDir( CString sDir, Song &out )
|
|||||||
sWavID.MakeUpper(); // HACK: undo the MakeLower()
|
sWavID.MakeUpper(); // HACK: undo the MakeLower()
|
||||||
out.m_vsKeysoundFile.push_back( value_data );
|
out.m_vsKeysoundFile.push_back( value_data );
|
||||||
mapWavIdToKeysoundIndex[ sWavID ] = out.m_vsKeysoundFile.size()-1;
|
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] == '#'
|
else if( value_name.size() == 6 && value_name[0] == '#'
|
||||||
&& IsAnInt( value_name.substr(1,3) )
|
&& IsAnInt( value_name.substr(1,3) )
|
||||||
|
|||||||
@@ -681,7 +681,7 @@ void SetupExtensions()
|
|||||||
/* The minimum GL_MAX_PIXEL_MAP_TABLE is 32; if it's not at least 256,
|
/* 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
|
* we can't fit a palette in it, so we can't send paletted data as input
|
||||||
* for a non-paletted texture. */
|
* 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;
|
g_bColorIndexTableWorks = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user