summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-06-23 23:57:26 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2020-06-23 23:57:26 -0700
commit737da8d383e116c83fb356386322626f039deb06 (patch)
tree148ba56dbb9285ed6588b00566cac15d2e43be09 /iseq.c
parente0037997d9683d4242e3a417b43980bc0ad19cd2 (diff)
Add another missing cast
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 73423d9074..aa7e62a28a 100644
--- a/iseq.c
+++ b/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
}