mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add another missing cast
This commit is contained in:
parent
e0037997d9
commit
737da8d383
1 changed files with 1 additions and 1 deletions
2
iseq.c
2
iseq.c
|
@ -3125,7 +3125,7 @@ rb_vm_encoded_insn_data_table_init(void)
|
|||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue