summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-07 08:03:10 (GMT)
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-07 08:03:10 (GMT)
commit0f36bc093fc738040e71f32da33411f15915c3d7 (patch)
tree87c3e2edd5590fe671edafcffbe123c2ad33ee7a /insns.def
parent76566bfd583af8570b464796459494443989ab47 (diff)
insns.def: forgot add cast [ci skip]
See r65595 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index b92e10a..e77dc1f 100644
--- a/insns.def
+++ b/insns.def
@@ -469,7 +469,7 @@ expandarray
(..., VALUE ary)
(...)
// attr bool leaf = false; /* has rb_check_array_type() */
-// attr rb_snum_t sp_inc = num - 1 + (flag & 1 ? 1 : 0);
+// attr rb_snum_t sp_inc = (rb_snum_t)num - 1 + (flag & 1 ? 1 : 0);
{
vm_expandarray(GET_SP(), ary, num, (int)flag);
}