diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-19 07:39:12 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-19 07:39:12 +0000 |
commit | 592a629bd0185060101f14db80fa1d5552380031 (patch) | |
tree | 93dcebb2e8f73cfbb52fece0267e053dc550218d /enum.c | |
parent | 831898bd9971ec5997267226417ce0ce6f76ecd7 (diff) | |
download | ruby-592a629bd0185060101f14db80fa1d5552380031.tar.gz |
* enum.c (zip_i): variadic argument needs explicit cast on the
platforms where VALUE is longer than int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1943,7 +1943,7 @@ zip_i(VALUE val, NODE *memo, int argc, VALUE *argv) VALUE v[2]; v[1] = RARRAY_PTR(args)[i]; - rb_rescue2(call_next, (VALUE)v, call_stop, (VALUE)v, rb_eStopIteration, 0); + rb_rescue2(call_next, (VALUE)v, call_stop, (VALUE)v, rb_eStopIteration, (VALUE)0); if (v[0] == Qundef) { RARRAY_PTR(args)[i] = Qnil; v[0] = Qnil; |