From f6fea2b227f4c537a72728d169b906cd9174482b Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 26 Nov 2018 18:27:02 +0000 Subject: [PATCH] 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 --- iseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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