diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sherlock/animation.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/resources.cpp | 2 |
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); |