diff options
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 2a6ad6deeb..64e58f0842 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -2397,9 +2397,9 @@ vm_make_proc_with_iseq(rb_iseq_t *blockiseq) } static VALUE -vm_once_exec(rb_iseq_t *iseq) +vm_once_exec(VALUE iseq) { - VALUE proc = vm_make_proc_with_iseq(iseq); + VALUE proc = vm_make_proc_with_iseq((rb_iseq_t *)iseq); return rb_proc_call_with_block(proc, 0, 0, Qnil); } |