diff options
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3715,7 +3715,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) } case NODE_YIELD:{ DECL_ANCHOR(args); - int argc; + VALUE argc; unsigned long flag = 0; if (iseq->type == ISEQ_TYPE_TOP || iseq->type == ISEQ_TYPE_CLASS) { @@ -3726,7 +3726,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) argc = setup_args(iseq, args, node->nd_head, &flag); } else { - argc = 0; + argc = INT2FIX(0); } ADD_SEQ(ret, args); |