summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-20 09:34:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-20 09:34:34 +0000
commit6494314d2a53bb550119672bedcb69f3457aac91 (patch)
treedcdf92bb4ab030860678b3af5ab5c4786171392d /enumerator.c
parent1da3e0f9928ddeb80fd0df61855281614e0678e6 (diff)
* enumerator.c (inspect_enumerator): should use long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c2
1 files changed, 1 insertions, 1 deletions
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, "(");