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/UIButton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/wintermute/UIButton.h') diff --git a/engines/wintermute/UIButton.h b/engines/wintermute/UIButton.h index de50431f2d..0d504fdea0 100644 --- a/engines/wintermute/UIButton.h +++ b/engines/wintermute/UIButton.h @@ -71,7 +71,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