aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorrichiesams2013-07-15 10:32:56 -0500
committerrichiesams2013-08-04 13:32:17 -0500
commitf88127104b6b59a336761966e9652412083402b7 (patch)
tree9165365dd14de8d61d9fd2a3664d3a87ff05b32b /engines
parent535d6a2a405118ee1e94198f8231532ec2b08bad (diff)
downloadscummvm-rg350-f88127104b6b59a336761966e9652412083402b7.tar.gz
scummvm-rg350-f88127104b6b59a336761966e9652412083402b7.tar.bz2
scummvm-rg350-f88127104b6b59a336761966e9652412083402b7.zip
ZVISION: Fix implicit conversion for scanf-type functions
Diffstat (limited to 'engines')
-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();