1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
ko1 2018-11-26 18:27:02 +00:00
parent 61c8247d55
commit f6fea2b227

2
iseq.c
View file

@ -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