summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 05ede22f2e..792a46f02d 100644
--- a/toke.c
+++ b/toke.c
@@ -14256,7 +14256,7 @@ S_parse_recdescent(pTHX_ int gramtype, I32 fakeeof)
SAVEI32(PL_lex_allbrackets);
PL_lex_allbrackets = 0;
SAVEI8(PL_lex_fakeeof);
- PL_lex_fakeeof = fakeeof;
+ PL_lex_fakeeof = (U8)fakeeof;
if(yyparse(gramtype) && !PL_parser->error_count)
qerror(Perl_mess(aTHX_ "Parse error"));
}