diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-26 18:27:02 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-26 18:27:02 +0000 |
commit | f6fea2b227f4c537a72728d169b906cd9174482b (patch) | |
tree | 841ed6dc63fd3a3fd56229425c82ef688a84a03f /iseq.c | |
parent | 61c8247d55b0722b76b9d4d3adf78f70c01698bf (diff) |
fix type error.
* iseq.c (iseq_iterate_children): should use cast to `int`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2214,7 +2214,7 @@ iseq_iterate_children(const rb_iseq_t *iseq, void (*iter_func)(const rb_iseq_t * i += len; } - return RHASH_SIZE(all_children); + return (int)RHASH_SIZE(all_children); } static void |