1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* enum.c (zip_ary): should use long.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-05-20 08:58:56 +00:00
parent 0980fe7903
commit 1da3e0f992
2 changed files with 5 additions and 1 deletions

View file

@ -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

2
enum.c
View file

@ -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;