aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx
diff options
context:
space:
mode:
authorEugene Sandulenko2010-08-28 16:02:08 +0000
committerEugene Sandulenko2010-10-12 23:18:58 +0000
commitdeb7dcc8bb26483ea1f0271e04de441a586dd144 (patch)
treea8d7e70930573833c9ca120e9f28a3ca5c513cd3 /engines/sword25/gfx
parent4024caf76839a21413317fbb39510a616b958fa5 (diff)
downloadscummvm-rg350-deb7dcc8bb26483ea1f0271e04de441a586dd144.tar.gz
scummvm-rg350-deb7dcc8bb26483ea1f0271e04de441a586dd144.tar.bz2
scummvm-rg350-deb7dcc8bb26483ea1f0271e04de441a586dd144.zip
SWORD25: Fix warnings
svn-id: r53292
Diffstat (limited to 'engines/sword25/gfx')
-rw-r--r--engines/sword25/gfx/animationresource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword25/gfx/animationresource.cpp b/engines/sword25/gfx/animationresource.cpp
index 3ab1991ca4..9f66469ebb 100644
--- a/engines/sword25/gfx/animationresource.cpp
+++ b/engines/sword25/gfx/animationresource.cpp
@@ -206,7 +206,7 @@ bool AnimationResource::parserCallback_frame(ParserNode *node) {
if (!flipVString.empty()) {
if (!parseBooleanKey(flipVString, frame.FlipV)) {
BS_LOG_WARNINGLN("Illegal flipv value (\"%s\") in <frame> tag in \"%s\". Assuming default (\"false\").",
- flipVString, GetFileName().c_str());
+ flipVString.c_str(), GetFileName().c_str());
frame.FlipV = false;
}
} else
@@ -216,7 +216,7 @@ bool AnimationResource::parserCallback_frame(ParserNode *node) {
if (!flipHString.empty()) {
if (!parseBooleanKey(flipVString, frame.FlipV)) {
BS_LOG_WARNINGLN("Illegal fliph value (\"%s\") in <frame> tag in \"%s\". Assuming default (\"false\").",
- flipHString, GetFileName().c_str());
+ flipHString.c_str(), GetFileName().c_str());
frame.FlipH = false;
}
} else