diff options
author | Eugene Sandulenko | 2016-06-28 17:31:55 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 30ced4a4e226648cb53a9fcbd3eb3a9f4c461537 (patch) | |
tree | ec3aa2a21e522aca32757428faad03dee7198b87 /engines | |
parent | 0b9e3607a01f4c3b2820b2017240adf073669820 (diff) | |
download | scummvm-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.cpp | 2 |
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 "))) { |