From 5901e8fb83cc181479c1fcf32142c072c0d282cd Mon Sep 17 00:00:00 2001 From: kazu Date: Sat, 10 Mar 2018 00:33:11 +0000 Subject: Fix error: implicit conversion loses integer precision http://ci.rvm.jp/results/trunk_clang_50@silicon-docker/627906 ``` iseq.h:41:36: error: implicit conversion loses integer precision: 'rb_num_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32] int cnt = iseq->body->variable.flip_count; ~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ``` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index 24ecc9be54..9b8aede35c 100644 --- a/vm_core.h +++ b/vm_core.h @@ -412,7 +412,7 @@ struct rb_iseq_constant_body { struct rb_call_cache *cc_entries; /* size is ci_size = ci_kw_size */ struct { - rb_num_t flip_count; + rb_snum_t flip_count; VALUE coverage; VALUE original_iseq; } variable; -- cgit v1.2.3