diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-01 14:38:33 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-01 14:38:33 +0900 |
commit | bdc62dfc8ecffd27dd5ad6756cce88eac5c993f5 (patch) | |
tree | f51959ebe513c7d32fa4459d5cfdb54966298b99 /spec/ruby | |
parent | 9914d6e992a69587e6d43ba7eaa6cdda9f178f8e (diff) | |
download | ruby-bdc62dfc8ecffd27dd5ad6756cce88eac5c993f5.tar.gz |
Fixed type of an index variable
Diffstat (limited to 'spec/ruby')
-rw-r--r-- | spec/ruby/optional/capi/ext/array_spec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/optional/capi/ext/array_spec.c b/spec/ruby/optional/capi/ext/array_spec.c index 379ced318d..454cf03303 100644 --- a/spec/ruby/optional/capi/ext/array_spec.c +++ b/spec/ruby/optional/capi/ext/array_spec.c @@ -36,7 +36,7 @@ static VALUE array_spec_RARRAY_PTR_assign(VALUE self, VALUE array, VALUE value) static VALUE array_spec_RARRAY_PTR_memcpy(VALUE self, VALUE array1, VALUE array2) { VALUE *ptr1, *ptr2; - int size; + long size; size = RARRAY_LEN(array1); ptr1 = RARRAY_PTR(array1); ptr2 = RARRAY_PTR(array2); |