summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-05-17 23:13:51 +0000
committerNicholas Clark <nick@ccl4.org>2006-05-17 23:13:51 +0000
commit666cce2658c56eefabca0e55834cf49f983984a8 (patch)
tree9a9bb9d694f3775d995f43347bac9a4cd8c8c8a0
parent3c21775ba6a6c27698c22f21649e7fef0bb0573f (diff)
downloadperl-666cce2658c56eefabca0e55834cf49f983984a8.tar.gz
Another SvVOK(). I believe that this is the last.
p4raw-id: //depot/perl@28221
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index fde009532d..d273ec43d1 100644
--- a/util.c
+++ b/util.c
@@ -4298,7 +4298,7 @@ Perl_upg_version(pTHX_ SV *ver)
version = savepvn(tbuf, len);
}
#ifdef SvVOK
- else if ( (mg = SvVOK(ver)) ) { /* already a v-string */
+ else if ( (mg = SvVSTRING_mg(ver)) ) { /* already a v-string */
version = savepvn( (const char*)mg->mg_ptr,mg->mg_len );
qv = 1;
}