aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/zvision/scr_file_handling.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/scr_file_handling.cpp b/engines/zvision/scr_file_handling.cpp
index 2371c350f7..6a2e8cf701 100644
--- a/engines/zvision/scr_file_handling.cpp
+++ b/engines/zvision/scr_file_handling.cpp
@@ -41,7 +41,7 @@ void ScriptManager::parseScrFile(Common::String fileName) {
while(!file.eos()) {
Common::String line = file.readLine();
if (file.err()) {
- warning("Error parsing scr file: %s", fileName);
+ warning("Error parsing scr file: %s", fileName.c_str());
return;
}
@@ -249,7 +249,7 @@ void ScriptManager::parseResult(Common::SeekableReadStream &stream, Common::List
} else {
- warning("Unhandled result action type: ", line);
+ warning("Unhandled result action type: %s", line.c_str());
}
line = stream.readLine();