mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add missing cast
This commit is contained in:
parent
946e5cc668
commit
6ecef1199e
1 changed files with 1 additions and 1 deletions
2
iseq.c
2
iseq.c
|
@ -3130,7 +3130,7 @@ rb_vm_encoded_insn_data_table_init(void)
|
|||
traced_insn = BIN(opt_invokebuiltin_delegate); // to dispatch :return from leave
|
||||
}
|
||||
st_data_t key1 = (st_data_t)INSN_CODE(insn);
|
||||
st_data_t key2 = (st_data_t)INSN_CODE(traced_insn + VM_INSTRUCTION_SIZE/2);
|
||||
st_data_t key2 = (st_data_t)INSN_CODE((st_data_t)traced_insn + VM_INSTRUCTION_SIZE/2);
|
||||
|
||||
insn_data[insn].insn = (int)insn;
|
||||
insn_data[insn].insn_len = insn_len(insn);
|
||||
|
|
Loading…
Reference in a new issue