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

* expand tabs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
svn 2018-10-10 04:24:11 +00:00
parent 228fc417ce
commit 50281e8ca3

View file

@ -113,7 +113,7 @@ initialize(int argc, VALUE argv[], VALUE self)
Check_Max_Args("args", len); Check_Max_Args("args", len);
ary = rb_ary_subseq(args, 0, len); ary = rb_ary_subseq(args, 0, len);
for (i = 0; i < RARRAY_LEN(args); i++) { for (i = 0; i < RARRAY_LEN(args); i++) {
VALUE a = RARRAY_AREF(args, i); VALUE a = RARRAY_AREF(args, i);
int type = NUM2INT(a); int type = NUM2INT(a);
(void)INT2FFI_TYPE(type); /* raise */ (void)INT2FFI_TYPE(type); /* raise */
if (INT2FIX(type) != a) rb_ary_store(ary, i, INT2FIX(type)); if (INT2FIX(type) != a) rb_ary_store(ary, i, INT2FIX(type));