From 2c2ef3973af95a56eb7fb333cff3f63181583652 Mon Sep 17 00:00:00 2001 From: David Turner Date: Sun, 23 Jan 2011 20:51:16 +0000 Subject: SWORD25: Fix GCC Compilation Warnings. svn-id: r55482 --- engines/sword25/gfx/animationtemplateregistry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sword25/gfx/animationtemplateregistry.cpp') diff --git a/engines/sword25/gfx/animationtemplateregistry.cpp b/engines/sword25/gfx/animationtemplateregistry.cpp index d942ac2ff7..ee58003455 100644 --- a/engines/sword25/gfx/animationtemplateregistry.cpp +++ b/engines/sword25/gfx/animationtemplateregistry.cpp @@ -42,11 +42,11 @@ DECLARE_SINGLETON(Sword25::AnimationTemplateRegistry); namespace Sword25 { void AnimationTemplateRegistry::logErrorLn(const char *message) const { - error(message); + error("%s", message); } void AnimationTemplateRegistry::logWarningLn(const char *message) const { - warning(message); + warning("%s", message); } bool AnimationTemplateRegistry::persist(OutputPersistenceBlock &writer) { -- cgit v1.2.3