mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 01:08:25 +00:00
DIRECTOR: Lingo: Fix warning. Thanks to wjp.
This commit is contained in:
parent
9b6bbeb911
commit
f57fa7c1e0
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user