Another SvVOK(). I believe that this is the last.
Nicholas Clark [Wed, 17 May 2006 23:13:51 +0000 (23:13 +0000)]
p4raw-id: //depot/perl@28221

util.c

diff --git a/util.c b/util.c
index fde0095..d273ec4 100644 (file)
--- 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;
     }