summaryrefslogtreecommitdiff
path: root/ext/List/Util/Util.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/List/Util/Util.xs')
-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 86d0e663bb..c55fd00358 100644
--- a/ext/List/Util/Util.xs
+++ b/ext/List/Util/Util.xs
@@ -276,7 +276,7 @@ CODE:
dmy_op.op_targ = 1;
PL_op = &dmy_op;
PL_curpad = (SV **)&my_pad;
- *(PL_ppaddr[OP_RAND])();
+ *(PL_ppaddr[OP_RAND])(aTHX);
PL_op = old_op;
PL_curpad = old_curpad;
for (index = items ; index > 1 ; ) {