DIRECTOR: Lingo: Fix warning. Thanks to wjp.

This commit is contained in:
Eugene Sandulenko 2016-08-30 22:26:33 +02:00
parent 9b6bbeb911
commit f57fa7c1e0
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}