summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/List/Util/Util.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/List/Util/Util.xs b/ext/List/Util/Util.xs
index 96b8cab534..3a03488197 100644
--- a/ext/List/Util/Util.xs
+++ b/ext/List/Util/Util.xs
@@ -358,7 +358,7 @@ CODE:
}
#ifdef SVf_IVisUV
else if (SvUOK(num)) {
- SvUVX(ST(0)) = SvUV(num);
+ SvUV_set(ST(0), SvUV(num));
SvIOK_on(ST(0));
SvIsUV_on(ST(0));
}