ruby-changes:59014
From: Nobuyoshi <ko1@a...>
Date: Sun, 1 Dec 2019 14:39:27 +0900 (JST)
Subject: [ruby-changes:59014] bdc62dfc8e (master): Fixed type of an index variable
https://git.ruby-lang.org/ruby.git/commit/?id=bdc62dfc8e From bdc62dfc8ecffd27dd5ad6756cce88eac5c993f5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 1 Dec 2019 14:38:33 +0900 Subject: Fixed type of an index variable diff --git a/spec/ruby/optional/capi/ext/array_spec.c b/spec/ruby/optional/capi/ext/array_spec.c index 379ced3..454cf03 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) https://github.com/ruby/ruby/blob/trunk/spec/ruby/optional/capi/ext/array_spec.c#L36 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); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/