diff options
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1630,7 +1630,7 @@ dir_s_glob(int argc, VALUE *argv, VALUE obj) } else { volatile VALUE v = ary; - ary = dir_globs(RARRAY(ary)->len, RARRAY(ary)->ptr, flags); + ary = dir_globs(RARRAY_LEN(ary), RARRAY_PTR(ary), flags); } if (rb_block_given_p()) { |