diff --git a/ChangeLog b/ChangeLog index 6a4b3814ed..f1c7fe6592 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,9 @@ -Wed May 20 17:58:52 2009 Nobuyoshi Nakada +Wed May 20 18:34:30 2009 Nobuyoshi Nakada * enum.c (zip_ary): should use long. + * enumerator.c (inspect_enumerator): should use long. + Wed May 20 06:25:29 2009 Yukihiro Matsumoto * encoding.c (rb_enc_fast_mbclen): faster mbclen for strings known diff --git a/enumerator.c b/enumerator.c index b7bd85706f..6723d72769 100644 --- a/enumerator.c +++ b/enumerator.c @@ -605,7 +605,7 @@ inspect_enumerator(VALUE obj, VALUE dummy, int recur) rb_str_buf_cat2(str, rb_id2name(e->meth)); if (e->args) { - int argc = RARRAY_LEN(e->args); + long argc = RARRAY_LEN(e->args); VALUE *argv = RARRAY_PTR(e->args); rb_str_buf_cat2(str, "(");