diff options
Diffstat (limited to 'universal.c')
-rw-r--r-- | universal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/universal.c b/universal.c index 6999adce22..354ee618c8 100644 --- a/universal.c +++ b/universal.c @@ -449,15 +449,15 @@ XS(XS_UNIVERSAL_VERSION) } else { Perl_croak(aTHX_ "%s version %"SVf" required--" "this is only version %"SVf"", HvNAME_get(pkg), - SVfARG(vnumify(req)), - SVfARG(vnumify(sv))); + SVfARG(vstringify(req)), + SVfARG(vstringify(sv))); } } } if ( SvOK(sv) && sv_derived_from(sv, "version") ) { - ST(0) = vnumify(sv); + ST(0) = vstringify(sv); } else { ST(0) = sv; } |