diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-05-20 16:42:10 -0500 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2005-05-21 02:58:49 +0000 |
commit | b15aece354b2aec9d338e59acb2abc2deeebc3c0 (patch) | |
tree | cd9381dd13364c19fdc12c6a4d15a29d82e5314e /perly.c | |
parent | 8d2f45362e368d7dd455b476c924dcbcc02d845b (diff) | |
download | perl-b15aece354b2aec9d338e59acb2abc2deeebc3c0.tar.gz |
SvPVX_const - patch #2
Message-Id: <20050521024210.GA29036@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24523
Diffstat (limited to 'perly.c')
-rw-r--r-- | perly.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -322,7 +322,7 @@ Perl_yyparse (pTHX) #ifdef DEBUGGING yyns_sv = NEWSV(73, YYINITDEPTH * sizeof(char *)); SAVEFREESV(yyns_sv); - yyns = (const char **) SvPVX(yyns_sv); + yyns = SvPVX_const(yyns_sv); yynsp = yyns; #endif @@ -366,7 +366,7 @@ Perl_yyparse (pTHX) yyvs = (YYSTYPE *) SvPVX(yyvs_sv); #ifdef DEBUGGING SvGROW(yyns_sv, yystacksize * sizeof(char *)); - yyns = (const char **) SvPVX(yyns_sv); + yyns = SvPVX_const(yyns_sv); if (! yyns) goto yyoverflowlab; yynsp = yyns + yysize - 1; |