aboutsummaryrefslogtreecommitdiffstats
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 d505e5a3c4..bdeb768118 100644
--- a/array.c
+++ b/array.c
@@ -1650,7 +1650,7 @@ ary_join_1(VALUE obj, VALUE ary, VALUE sep, long i, VALUE result, int *first)
rb_raise(rb_eArgError, "recursive array join");
}
else {
- VALUE args[3];
+ VALUE args[4];
args[0] = val;
args[1] = sep;