aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-06-07 17:19:05 +0200
committerTorbjörn Andersson2015-06-07 17:19:05 +0200
commit6cc469dc5c1021764f0cf4a4e0a46e83f760ae5f (patch)
treeb9d8ca2d3b0ab51111d974606361cf016d51c680 /engines
parent4c9e67ccfa709a74f2c78580f42bb642b258cd22 (diff)
downloadscummvm-rg350-6cc469dc5c1021764f0cf4a4e0a46e83f760ae5f.tar.gz
scummvm-rg350-6cc469dc5c1021764f0cf4a4e0a46e83f760ae5f.tar.bz2
scummvm-rg350-6cc469dc5c1021764f0cf4a4e0a46e83f760ae5f.zip
SHERLOCK: Fix GCC compilation
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/animation.cpp2
-rw-r--r--engines/sherlock/resources.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/animation.cpp b/engines/sherlock/animation.cpp
index bc0e337039..a069abef6f 100644
--- a/engines/sherlock/animation.cpp
+++ b/engines/sherlock/animation.cpp
@@ -150,7 +150,7 @@ bool Animation::play3DO(const Common::String &filename, int minDelay, int fade,
Common::File *indexStream = new Common::File();
if (!indexStream->open(indexName)) {
- warning("unable to open %s\n", indexName);
+ warning("unable to open %s\n", indexName.c_str());
return false;
}
diff --git a/engines/sherlock/resources.cpp b/engines/sherlock/resources.cpp
index d98d3d8ea5..a5f7ba469c 100644
--- a/engines/sherlock/resources.cpp
+++ b/engines/sherlock/resources.cpp
@@ -580,7 +580,7 @@ ImageFile3DO::ImageFile3DO(const Common::String &name, bool animImages) {
Common::File *dataStream = new Common::File();
if (!dataStream->open(name)) {
- error("unable to open %s\n", name);
+ error("unable to open %s\n", name.c_str());
}
load(*dataStream, animImages);