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

Fixed type of an index variable

This commit is contained in:
Nobuyoshi Nakada 2019-12-01 14:38:33 +09:00
parent 9914d6e992
commit bdc62dfc8e
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

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