diff options
author | Eugene Sandulenko | 2016-08-30 22:26:33 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-30 22:27:09 +0200 |
commit | f57fa7c1e0690a563bbf0cdfb82dcce455a111bd (patch) | |
tree | 568b72bb23c30f63bdab33adf9575b85dbd71232 | |
parent | 9b6bbeb911d07ba3eac6ae29a64d1c57e7fe075b (diff) | |
download | scummvm-rg350-f57fa7c1e0690a563bbf0cdfb82dcce455a111bd.tar.gz scummvm-rg350-f57fa7c1e0690a563bbf0cdfb82dcce455a111bd.tar.bz2 scummvm-rg350-f57fa7c1e0690a563bbf0cdfb82dcce455a111bd.zip |
DIRECTOR: Lingo: Fix warning. Thanks to wjp.
-rw-r--r-- | engines/director/lingo/lingo-gr.cpp | 2 | ||||
-rw-r--r-- | engines/director/lingo/lingo-gr.y | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-gr.cpp b/engines/director/lingo/lingo-gr.cpp index 7bb13adde0..f92e030c88 100644 --- a/engines/director/lingo/lingo-gr.cpp +++ b/engines/director/lingo/lingo-gr.cpp @@ -225,7 +225,7 @@ extern int yylex(); extern int yyparse(); using namespace Director; -void yyerror(char *s) { +void yyerror(const char *s) { g_lingo->_hadError = true; warning("%s at line %d col %d", s, g_lingo->_linenumber, g_lingo->_colnumber); } diff --git a/engines/director/lingo/lingo-gr.y b/engines/director/lingo/lingo-gr.y index a4bc6195d9..9077f44876 100644 --- a/engines/director/lingo/lingo-gr.y +++ b/engines/director/lingo/lingo-gr.y @@ -58,7 +58,7 @@ extern int yylex(); extern int yyparse(); using namespace Director; -void yyerror(char *s) { +void yyerror(const char *s) { g_lingo->_hadError = true; warning("%s at line %d col %d", s, g_lingo->_linenumber, g_lingo->_colnumber); } |