aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.cpp
diff options
context:
space:
mode:
authorD G Turner2019-10-03 04:56:46 +0100
committerD G Turner2019-10-03 04:56:46 +0100
commit7cc908f0ac049a9be9cd425a38124c6238ad3629 (patch)
tree312b6956352559fb0dd59a616da0565fc81d1db6 /engines/director/lingo/lingo-lex.cpp
parente97985e88719e734619857dc101646e135d6fd42 (diff)
downloadscummvm-rg350-7cc908f0ac049a9be9cd425a38124c6238ad3629.tar.gz
scummvm-rg350-7cc908f0ac049a9be9cd425a38124c6238ad3629.tar.bz2
scummvm-rg350-7cc908f0ac049a9be9cd425a38124c6238ad3629.zip
DIRECTOR: Fix MSVC Warnings
Diffstat (limited to 'engines/director/lingo/lingo-lex.cpp')
-rw-r--r--engines/director/lingo/lingo-lex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp
index 1f5d81d668..7b98269f2f 100644
--- a/engines/director/lingo/lingo-lex.cpp
+++ b/engines/director/lingo/lingo-lex.cpp
@@ -333,7 +333,7 @@ void yyfree (void * );
/* Begin user sect3 */
-#define yywrap(n) 1
+#define yywrap() 1
#define YY_SKIP_YYWRAP
typedef unsigned char YY_CHAR;
@@ -1648,7 +1648,7 @@ case YY_STATE_EOF(INITIAL):
{
(yy_did_buffer_switch_on_eof) = 0;
- if ( yywrap( ) )
+ if ( yywrap() )
{
/* Note: because we've taken care in
* yy_get_next_buffer() to have set up
@@ -1947,7 +1947,7 @@ static int yy_get_next_buffer (void)
case EOB_ACT_END_OF_FILE:
{
- if ( yywrap( ) )
+ if ( yywrap() )
return 0;
if ( ! (yy_did_buffer_switch_on_eof) )