ruby-changes:61919
From: Takashi <ko1@a...>
Date: Wed, 24 Jun 2020 15:57:46 +0900 (JST)
Subject: [ruby-changes:61919] 737da8d383 (master): Add another missing cast
https://git.ruby-lang.org/ruby.git/commit/?id=737da8d383 From 737da8d383e116c83fb356386322626f039deb06 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Tue, 23 Jun 2020 23:57:26 -0700 Subject: Add another missing cast diff --git a/iseq.c b/iseq.c index 73423d9..aa7e62a 100644 --- a/iseq.c +++ b/iseq.c @@ -3125,7 +3125,7 @@ rb_vm_encoded_insn_data_table_init(void) https://github.com/ruby/ruby/blob/trunk/iseq.c#L3125 encoded_insn_data = st_init_numtable_with_size(VM_INSTRUCTION_SIZE / 2); for (insn = 0; insn < VM_INSTRUCTION_SIZE/2; insn++) { - int traced_insn = insn; + int traced_insn = (int)insn; if (traced_insn == BIN(opt_invokebuiltin_delegate_leave)) { traced_insn = BIN(opt_invokebuiltin_delegate); // to dispatch :return from leave } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/