Fix wrong integer casting.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-11-06 12:42:43 +09:00
parent f77113e841
commit d93fc6593f
+1 -1
View File
@@ -1139,7 +1139,7 @@ RETRY_TRY_BLOCK:
}
CASE(OP_LOADI32, BSS) {
SET_INT_VALUE(mrb, regs[a], (mrb_int)(b<<16)+c);
SET_INT_VALUE(mrb, regs[a], ((mrb_int)b<<16)+c);
NEXT;
}