From 1da3e0f9928ddeb80fd0df61855281614e0678e6 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 20 May 2009 08:58:56 +0000 Subject: [PATCH] * enum.c (zip_ary): should use long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ enum.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 922ee1ea84..6a4b3814ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed May 20 17:58:52 2009 Nobuyoshi Nakada + + * enum.c (zip_ary): 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/enum.c b/enum.c index ebeb069221..938e3c3e5e 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;