aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/AdRegion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/AdRegion.cpp')
-rw-r--r--engines/wintermute/AdRegion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/AdRegion.cpp b/engines/wintermute/AdRegion.cpp
index cd8ab049f9..81cb8fc72e 100644
--- a/engines/wintermute/AdRegion.cpp
+++ b/engines/wintermute/AdRegion.cpp
@@ -54,7 +54,7 @@ CAdRegion::~CAdRegion() {
//////////////////////////////////////////////////////////////////////////
-HRESULT CAdRegion::LoadFile(char *Filename) {
+HRESULT CAdRegion::LoadFile(const char *Filename) {
byte *Buffer = Game->_fileManager->ReadWholeFile(Filename);
if (Buffer == NULL) {
Game->LOG(0, "CAdRegion::LoadFile failed for file '%s'", Filename);