projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Refactoring to Sv*_set() macros - patch #2
[p5sagit/p5-mst-13.2.git]
/
ext
/
List
/
Util
/
Util.xs
diff --git
a/ext/List/Util/Util.xs
b/ext/List/Util/Util.xs
index
a1f956a
..
96b8cab
100644
(file)
--- a/
ext/List/Util/Util.xs
+++ b/
ext/List/Util/Util.xs
@@
-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)))