aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-28 17:31:55 +0200
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commit30ced4a4e226648cb53a9fcbd3eb3a9f4c461537 (patch)
treeec3aa2a21e522aca32757428faad03dee7198b87 /engines
parent0b9e3607a01f4c3b2820b2017240adf073669820 (diff)
downloadscummvm-rg350-30ced4a4e226648cb53a9fcbd3eb3a9f4c461537.tar.gz
scummvm-rg350-30ced4a4e226648cb53a9fcbd3eb3a9f4c461537.tar.bz2
scummvm-rg350-30ced4a4e226648cb53a9fcbd3eb3a9f4c461537.zip
DIRECTOR: Lingo: Fix warning
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 "))) {