From 30ced4a4e226648cb53a9fcbd3eb3a9f4c461537 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 28 Jun 2016 17:31:55 +0200 Subject: DIRECTOR: Lingo: Fix warning --- engines/director/lingo/lingo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/director/lingo') diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 0ecd6893eb..37bf53a36d 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -125,7 +125,7 @@ void Lingo::addCode(Common::String code, ScriptType type, uint16 id) { // macros have conflicting grammar. Thus we ease life for the parser. if (code.contains("\nmacro ")) { const char *begin = strstr(code.c_str(), "\nmacro ") + 1; - char *end; + const char *end; bool first = true; while ((end = strstr(begin, "\nmacro "))) { -- cgit v1.2.3