ZVISION: Fix implicit conversion for scanf-type functions

This commit is contained in:
richiesams 2013-07-15 10:32:56 -05:00
parent 535d6a2a40
commit f88127104b

View File

@ -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();