summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 20d0fa101a..5a8d8dcbcd 100644
--- a/array.c
+++ b/array.c
@@ -1545,7 +1545,7 @@ rb_ary_splice(VALUE ary, long beg, long len, VALUE rpl)
}
if (len != rlen) {
- RARRAY_PTR_USE(ary, ptr,
+ RARRAY_PTR_USE(ary, ptr,
MEMMOVE(ptr + beg + rlen, ptr + beg + len,
VALUE, RARRAY_LEN(ary) - (beg + len)));
ARY_SET_LEN(ary, alen);