Add bytecode support for `MRB_WORD_BOXING`.

parent eeb6d565
...@@ -2480,7 +2480,7 @@ RETRY_TRY_BLOCK: ...@@ -2480,7 +2480,7 @@ RETRY_TRY_BLOCK:
#ifdef MRB_WORD_BOXING #ifdef MRB_WORD_BOXING
{ {
mrb_float x = mrb_float(regs[a]); mrb_float x = mrb_float(regs[a]);
SET_FLOAT_VALUE(mrb, regs[a], x - c); SET_FLOAT_VALUE(mrb, regs[a], (mrb_float)x - (mrb_float)c);
} }
#else #else
mrb_float(regs_a[0]) -= c; mrb_float(regs_a[0]) -= c;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment