aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/director/lingo/lingo.cpp2
1 files changed, 1 insertions, 1 deletions
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 "))) {