diff options
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2248,7 +2248,7 @@ void Pkg_distepoch(pkg) PPCODE: #ifdef RPMTAG_DISTEPOCH if (pkg->h) { - XPUSHs(sv_2mortal(newSVpv_utf8(get_name(pkg->h, RPMTAG_DISTEPOCH), 0))); + XPUSHs(sv_2mortal(newSVpv(get_name(pkg->h, RPMTAG_DISTEPOCH), 0))); } #else croak("distepoch isn't available with this rpm version"); @@ -2258,7 +2258,7 @@ void Pkg_disttag(pkg) URPM::Package pkg PPCODE: if (pkg->h) { - XPUSHs(sv_2mortal(newSVpv_utf8(get_name(pkg->h, RPMTAG_DISTTAG), 0))); + XPUSHs(sv_2mortal(newSVpv(get_name(pkg->h, RPMTAG_DISTTAG), 0))); } void |