diff options
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ ary_memcpy(VALUE ary, long beg, long argc, const VALUE *argv) { #if 1 if (OBJ_PROMOTED(ary)) { - if (argc > (128/sizeof(VALUE)) /* is magic number (cache line size) */) { + if (argc > (int)(128/sizeof(VALUE)) /* is magic number (cache line size) */) { rb_gc_writebarrier_remember_promoted(ary); RARRAY_PTR_USE(ary, ptr, { MEMCPY(ptr+beg, argv, VALUE, argc); |