diff options
author | David Mitchell <davem@iabyn.com> | 2016-08-01 17:20:27 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-08-03 20:54:42 +0100 |
commit | 5b9ec8a25e399059e3f37bbf00434934e7e34eaa (patch) | |
tree | 7f9cbdc1c52be1ac8914fe1e6af284c688b58e74 /perly.y | |
parent | 097e9660df79edd7f79559a622cb8f847af3dc15 (diff) | |
download | perl-5b9ec8a25e399059e3f37bbf00434934e7e34eaa.tar.gz |
silence compiler warning in perly.y
assigning a char from an I32 gives a warning. Add an explicit cast
as we know the int only ever holds a char.
Diffstat (limited to 'perly.y')
-rw-r--r-- | perly.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -659,7 +659,7 @@ sigslurpelem: sigslurpsigil sigvarname sigdefault/* def only to catch errors */ if (PL_parser->sig_slurpy) yyerror("Multiple slurpy parameters not allowed"); - PL_parser->sig_slurpy = sigil; + PL_parser->sig_slurpy = (char)sigil; if (defexpr) yyerror("A slurpy parameter may not have " |