SWORD25: Fix GCC Compilation Warnings.

svn-id: r55482
This commit is contained in:
David Turner 2011-01-23 20:51:16 +00:00
parent 9b31b9c214
commit 2c2ef3973a
3 changed files with 6 additions and 6 deletions

View File

@ -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) {

View File

@ -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

View File

@ -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) {