From f88127104b6b59a336761966e9652412083402b7 Mon Sep 17 00:00:00 2001 From: richiesams Date: Mon, 15 Jul 2013 10:32:56 -0500 Subject: ZVISION: Fix implicit conversion for scanf-type functions --- engines/zvision/scr_file_handling.cpp | 4 ++-- 1 file 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(); -- cgit v1.2.3