summaryrefslogtreecommitdiff
path: root/insnhelper.ci
diff options
context:
space:
mode:
Diffstat (limited to 'insnhelper.ci')
-rw-r--r--insnhelper.ci2
1 files changed, 1 insertions, 1 deletions
diff --git a/insnhelper.ci b/insnhelper.ci
index 743cd64..d449980 100644
--- a/insnhelper.ci
+++ b/insnhelper.ci
@@ -236,7 +236,7 @@ caller_setup_args(rb_thread_t *th, rb_control_frame_t *cfp, VALUE flag,
VALUE ary = *(cfp->sp - 1);
VALUE *ptr;
int i;
- VALUE tmp = rb_check_convert_type(ary, T_ARRAY, "Array", "to_splat");
+ VALUE tmp = rb_check_convert_type(ary, T_ARRAY, "Array", "to_a");
if (NIL_P(tmp)) {
/* do nothing */