summaryrefslogtreecommitdiffstats
path: root/enum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-20 08:58:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-20 08:58:56 +0000
commit352dee5afc3b392db3f1c5f2d25f4da0e40d3801 (patch)
treecda24a63a5dbabb77d5df5357a59904c1635b077 /enum.c
parentcc1e89b0ffa5d0649e2326b1f1f4019e284129cd (diff)
downloadruby-352dee5afc3b392db3f1c5f2d25f4da0e40d3801.tar.gz
ruby-352dee5afc3b392db3f1c5f2d25f4da0e40d3801.tar.xz
ruby-352dee5afc3b392db3f1c5f2d25f4da0e40d3801.zip
* enum.c (zip_ary): should use long.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index ebeb06922..938e3c3e5 100644
--- a/enum.c
+++ b/enum.c
@@ -1456,7 +1456,7 @@ zip_ary(VALUE val, NODE *memo, int argc, VALUE *argv)
{
volatile VALUE result = memo->u1.value;
volatile VALUE args = memo->u2.value;
- int n = memo->u3.cnt++;
+ long n = memo->u3.cnt++;
volatile VALUE tmp;
int i;