summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-18 19:37:01 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-18 19:37:01 +0000
commitb448e4fea9d52c651a1814ffb2d1d8745f1f0de9 (patch)
treecc6a8f1acc6475943ed0424ac9260006082e4367 /toke.c
parent1a3327fb7deb3868ef5f43054de7364d8208e8e7 (diff)
downloadperl-b448e4fea9d52c651a1814ffb2d1d8745f1f0de9.tar.gz
Use the newSVuv().
p4raw-id: //depot/cfgperl@5804
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 2d96802683..a6d86c1ac2 100644
--- a/toke.c
+++ b/toke.c
@@ -3278,7 +3278,7 @@ Perl_yylex(pTHX)
/* This kludge not intended to be bulletproof. */
if (PL_tokenbuf[1] == '[' && !PL_tokenbuf[2]) {
yylval.opval = newSVOP(OP_CONST, 0,
- newSViv((IV)PL_compiling.cop_arybase));
+ newSViv(PL_compiling.cop_arybase));
yylval.opval->op_private = OPpCONST_ARYBASE;
TERM(THING);
}