aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-24 02:12:35 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-24 02:12:35 +0000
commit434207e84da3ba5208d5e29baa153c3e017170b1 (patch)
treef8c4ce138e4a35ba1e8b9172d641993a62ae31c4 /insns.def
parentf3c5239b16b983f1cea6c7710aae052f54e94ff8 (diff)
downloadruby-434207e84da3ba5208d5e29baa153c3e017170b1.tar.gz
need a cast
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65344 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 c6b5064794..c485f22dd0 100644
--- a/insns.def
+++ b/insns.def
@@ -519,7 +519,7 @@ newhashfromarray
()
(VALUE hash)
{
- VM_ASSERT(num * 2 == RARRAY_LEN(ary));
+ VM_ASSERT(num * 2 == (rb_num_t)RARRAY_LEN(ary));
hash = rb_hash_new_with_size(num);
rb_hash_bulk_insert(num * 2, RARRAY_CONST_PTR(ary), hash);
}