summaryrefslogtreecommitdiffstats
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
commitbd7e6fc799d1ffde07da3f99763acbc1a0a988d0 (patch)
treedcdf92bb4ab030860678b3af5ab5c4786171392d /enumerator.c
parent352dee5afc3b392db3f1c5f2d25f4da0e40d3801 (diff)
downloadruby-bd7e6fc799d1ffde07da3f99763acbc1a0a988d0.tar.gz
ruby-bd7e6fc799d1ffde07da3f99763acbc1a0a988d0.tar.xz
ruby-bd7e6fc799d1ffde07da3f99763acbc1a0a988d0.zip
* enumerator.c (inspect_enumerator): should use long.
git-svn-id: http://svn.ruby-lang.org/repos/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 b7bd85706..6723d7276 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, "(");