aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/scriptables/SXMemBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/scriptables/SXMemBuffer.h')
-rw-r--r--engines/wintermute/scriptables/SXMemBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/scriptables/SXMemBuffer.h b/engines/wintermute/scriptables/SXMemBuffer.h
index e63601a113..824c0aaf77 100644
--- a/engines/wintermute/scriptables/SXMemBuffer.h
+++ b/engines/wintermute/scriptables/SXMemBuffer.h
@@ -41,7 +41,7 @@ public:
CScValue *ScGetProperty(const char *Name);
HRESULT ScSetProperty(const char *Name, CScValue *Value);
HRESULT ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *ThisStack, const char *Name);
- char *ScToString();
+ const char *ScToString();
CSXMemBuffer(CBGame *inGame, CScStack *Stack);
CSXMemBuffer(CBGame *inGame, void *Buffer);
virtual ~CSXMemBuffer();