summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-26 18:27:02 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-26 18:27:02 +0000
commitf6fea2b227f4c537a72728d169b906cd9174482b (patch)
tree841ed6dc63fd3a3fd56229425c82ef688a84a03f /iseq.c
parent61c8247d55b0722b76b9d4d3adf78f70c01698bf (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 380ea481dd..110932b650 100644
--- a/iseq.c
+++ b/iseq.c
@@ -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