diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-20 08:58:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-20 08:58:56 +0000 |
commit | 1da3e0f9928ddeb80fd0df61855281614e0678e6 (patch) | |
tree | cda24a63a5dbabb77d5df5357a59904c1635b077 | |
parent | 0980fe7903b253e8a67a45eea6bd9856d0d85cf0 (diff) | |
download | ruby-1da3e0f9928ddeb80fd0df61855281614e0678e6.tar.gz |
* enum.c (zip_ary): should use long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | enum.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed May 20 17:58:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * enum.c (zip_ary): should use long. + Wed May 20 06:25:29 2009 Yukihiro Matsumoto <matz@ruby-lang.org> * encoding.c (rb_enc_fast_mbclen): faster mbclen for strings known @@ -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; |