aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authorDavid Turner2011-01-23 20:51:16 +0000
committerDavid Turner2011-01-23 20:51:16 +0000
commit2c2ef3973af95a56eb7fb333cff3f63181583652 (patch)
tree39b32a8b7fa3e0b7dd0f584c80d374d8f1754535 /engines/sword25
parent9b31b9c21439e1b319d52ba18e6c2c391d39ff6c (diff)
downloadscummvm-rg350-2c2ef3973af95a56eb7fb333cff3f63181583652.tar.gz
scummvm-rg350-2c2ef3973af95a56eb7fb333cff3f63181583652.tar.bz2
scummvm-rg350-2c2ef3973af95a56eb7fb333cff3f63181583652.zip
SWORD25: Fix GCC Compilation Warnings.
svn-id: r55482
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/gfx/animationtemplateregistry.cpp4
-rw-r--r--engines/sword25/gfx/renderobjectregistry.cpp4
-rw-r--r--engines/sword25/math/regionregistry.cpp4
3 files changed, 6 insertions, 6 deletions
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) {
diff --git a/engines/sword25/gfx/renderobjectregistry.cpp b/engines/sword25/gfx/renderobjectregistry.cpp
index f8c7c39789..40029957b1 100644
--- a/engines/sword25/gfx/renderobjectregistry.cpp
+++ b/engines/sword25/gfx/renderobjectregistry.cpp
@@ -39,11 +39,11 @@ DECLARE_SINGLETON(Sword25::RenderObjectRegistry);
namespace Sword25 {
void RenderObjectRegistry::logErrorLn(const char *message) const {
- error(message);
+ error("%s", message);
}
void RenderObjectRegistry::logWarningLn(const char *message) const {
- warning(message);
+ warning("%s", message);
}
} // End of namespace Sword25
diff --git a/engines/sword25/math/regionregistry.cpp b/engines/sword25/math/regionregistry.cpp
index f11f45540f..5802fbb3ff 100644
--- a/engines/sword25/math/regionregistry.cpp
+++ b/engines/sword25/math/regionregistry.cpp
@@ -42,11 +42,11 @@ DECLARE_SINGLETON(Sword25::RegionRegistry);
namespace Sword25 {
void RegionRegistry::logErrorLn(const char *message) const {
- error(message);
+ error("%s", message);
}
void RegionRegistry::logWarningLn(const char *message) const {
- warning(message);
+ warning("%s", message);
}
bool RegionRegistry::persist(OutputPersistenceBlock &writer) {