diff options
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -844,8 +844,9 @@ range_end(VALUE range) static VALUE -first_i(VALUE i, VALUE *ary) +first_i(VALUE i, VALUE cbarg, int argc, VALUE *argv, VALUE blockarg) { + VALUE *ary = (VALUE *)cbarg; long n = NUM2LONG(ary[0]); if (n <= 0) { |