summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2010-12-15 22:41:47 -0800
committerJan Dubois <jand@activestate.com>2010-12-16 11:24:24 -0800
commit2dcac756b8b2c3b3d7d34174ba27b78fb1c7ba4a (patch)
tree60651f69172e41b6e83652b51230581f422c51c8 /toke.c
parentec0363d9bb05a67dad10a50c9b76b5aba365199a (diff)
downloadperl-2dcac756b8b2c3b3d7d34174ba27b78fb1c7ba4a.tar.gz
Silence some data truncation compiler warnings
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"));
}