diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-24 02:12:35 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-24 02:12:35 +0000 |
commit | 434207e84da3ba5208d5e29baa153c3e017170b1 (patch) | |
tree | f8c4ce138e4a35ba1e8b9172d641993a62ae31c4 /insns.def | |
parent | f3c5239b16b983f1cea6c7710aae052f54e94ff8 (diff) |
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.def | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |