aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp
index c4aad4e5f7..eb45685ba5 100644
--- a/engines/sci/detection.cpp
+++ b/engines/sci/detection.cpp
@@ -508,7 +508,7 @@ Common::Error SciEngine::loadGameState(int slot) {
shrink_execution_stack(_gamestate, _gamestate->execution_stack_base + 1);
return Common::kNoError;
} else {
- warning("Restoring gamestate '%s' failed.\n", fileName);
+ warning("Restoring gamestate '%s' failed.\n", fileName.c_str());
return Common::kUnknownError;
}
}