mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix shorten-64-to-32 warning
This commit is contained in:
parent
aee36bf149
commit
8552e9d696
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ VALUE util_spec_rb_scan_args(VALUE self, VALUE argv, VALUE fmt, VALUE expected,
|
|||
static VALUE util_spec_rb_get_kwargs(VALUE self, VALUE keyword_hash, VALUE keys, VALUE required, VALUE optional) {
|
||||
int req = FIX2INT(required);
|
||||
int opt = FIX2INT(optional);
|
||||
int len = RARRAY_LEN(keys);
|
||||
int len = RARRAY_LENINT(keys);
|
||||
|
||||
int values_len = req + (opt < 0 ? -1 - opt : opt);
|
||||
int i = 0;
|
||||
|
|
Loading…
Reference in a new issue