From 11aadc56902ae97d6aa2467a94a041623b3c599d Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Sat, 12 May 2012 06:49:10 +0200 Subject: WINTERMUTE: Solve some const-char related warnings. --- engines/wintermute/UIEntity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/wintermute/UIEntity.h') diff --git a/engines/wintermute/UIEntity.h b/engines/wintermute/UIEntity.h index f55160b4d4..c18fd952dc 100644 --- a/engines/wintermute/UIEntity.h +++ b/engines/wintermute/UIEntity.h @@ -50,7 +50,7 @@ public: virtual CScValue *ScGetProperty(const char *Name); virtual HRESULT ScSetProperty(const char *Name, CScValue *Value); virtual HRESULT ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *ThisStack, const char *Name); - virtual char *ScToString(); + virtual const char *ScToString(); }; } // end of namespace WinterMute -- cgit v1.2.3