Refactoring to Sv*_set() macros - patch #2
[p5sagit/p5-mst-13.2.git] / ext / List / Util / Util.xs
index a1f956a..96b8cab 100644 (file)
@@ -364,7 +364,7 @@ CODE:
     }
 #endif
     else {
-       SvIVX(ST(0)) = SvIV(num);
+       SvIV_set(ST(0), SvIV(num));
        SvIOK_on(ST(0));
     }
     if(PL_tainting && (SvTAINTED(num) || SvTAINTED(str)))