ruby-changes:53787
From: ko1 <ko1@a...>
Date: Tue, 27 Nov 2018 03:27:07 +0900 (JST)
Subject: [ruby-changes:53787] ko1:r66005 (trunk): fix type error.
ko1 2018-11-27 03:27:02 +0900 (Tue, 27 Nov 2018) New Revision: 66005 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66005 Log: fix type error. * iseq.c (iseq_iterate_children): should use cast to `int`. Modified files: trunk/iseq.c Index: iseq.c =================================================================== --- iseq.c (revision 66004) +++ iseq.c (revision 66005) @@ -2214,7 +2214,7 @@ iseq_iterate_children(const rb_iseq_t *i https://github.com/ruby/ruby/blob/trunk/iseq.c#L2214 i += len; } - return RHASH_SIZE(all_children); + return (int)RHASH_SIZE(all_children); } static void -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/