mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 02:46:49 +00:00
SWORD25: Fix GCC Compilation Warnings.
svn-id: r55482
This commit is contained in:
parent
9b31b9c214
commit
2c2ef3973a
@ -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) {
|
||||
|
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user