aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/sword2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword2/sword2.cpp')
-rw-r--r--engines/sword2/sword2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp
index e9ad1dba4a..54c646c326 100644
--- a/engines/sword2/sword2.cpp
+++ b/engines/sword2/sword2.cpp
@@ -832,7 +832,7 @@ uint32 Sword2Engine::getMillis() {
}
Common::Error Sword2Engine::saveGameState(int slot, const char *desc) {
- uint32 saveVal = saveGame(slot, (byte *)desc);
+ uint32 saveVal = saveGame(slot, (const byte *)desc);
if (saveVal == SR_OK)
return Common::kNoError;