summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-04 02:56:34 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-04 02:56:34 +0000
commit07f14f5412398b0492274e922342ea9f308fea76 (patch)
treef896364806d9eb762c56d957f84798ac5d984d79 /gv.c
parent0f4592effc29e9b2deb638f6f7e6129ffa8326e3 (diff)
downloadperl-07f14f5412398b0492274e922342ea9f308fea76.tar.gz
s/sv_upgrade/SvUPGRADE/ a couple of places
p4raw-id: //depot/perl@2187
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gv.c b/gv.c
index f4f0044c7f..94bf4991f5 100644
--- a/gv.c
+++ b/gv.c
@@ -712,7 +712,7 @@ gv_fetchpv(char *nambeg, I32 add, I32 sv_type)
if (len > 1)
break;
#ifdef COMPLEX_STATUS
- sv_upgrade(GvSV(gv), SVt_PVLV);
+ (void)SvUPGRADE(GvSV(gv), SVt_PVLV);
#endif
goto magicalize;
@@ -815,7 +815,7 @@ gv_fetchpv(char *nambeg, I32 add, I32 sv_type)
case ']':
if (len == 1) {
SV *sv = GvSV(gv);
- sv_upgrade(sv, SVt_PVNV);
+ (void)SvUPGRADE(sv, SVt_PVNV);
sv_setpv(sv, PL_patchlevel);
(void)sv_2nv(sv);
SvREADONLY_on(sv);