diff options
Diffstat (limited to 'ext/List')
-rw-r--r-- | ext/List/Util/Util.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/List/Util/Util.xs b/ext/List/Util/Util.xs index 81e35cfd29..a1f956a6d6 100644 --- a/ext/List/Util/Util.xs +++ b/ext/List/Util/Util.xs @@ -353,7 +353,7 @@ CODE: (void)SvUPGRADE(ST(0),SVt_PVNV); sv_setpvn(ST(0),ptr,len); if(SvNOK(num) || SvPOK(num) || SvMAGICAL(num)) { - SvNVX(ST(0)) = SvNV(num); + SvNV_set(ST(0), SvNV(num)); SvNOK_on(ST(0)); } #ifdef SVf_IVisUV |