Fix GCC warnings on Linux.

This commit is contained in:
Prcuvu
2015-10-08 12:51:28 +08:00
parent f441d3a6f7
commit d98a25797e
6 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ void RageBitmapTexture::Create()
{
RString warning = ssprintf("RageBitmapTexture: Couldn't load %s: %s",
actualID.filename.c_str(), error.c_str());
LOG->Warn(warning);
LOG->Warn("%s", warning.c_str());
Dialog::OK(warning, "missing_texture");
pImg = RageSurfaceUtils::MakeDummySurface( 64, 64 );
ASSERT( pImg != NULL );