Unverified Commit 59b7846a authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5568 from dearblue/nan+cxx_abi

Fix failed build with `MRB_NAN_BOXING` and `enable_cxx_abi`
parents a0dd4668 1de662cb
...@@ -92,7 +92,7 @@ mrb_type(mrb_value o) ...@@ -92,7 +92,7 @@ mrb_type(mrb_value o)
case MRB_NANBOX_TT_SYMBOL: case MRB_NANBOX_TT_SYMBOL:
return MRB_TT_SYMBOL; return MRB_TT_SYMBOL;
case MRB_NANBOX_TT_MISC: case MRB_NANBOX_TT_MISC:
return (enum mrb_vtype)(o.u >> 8) & 0x1f; return (enum mrb_vtype)((o.u >> 8) & 0x1f);
default: default:
/* never happen */ /* never happen */
return MRB_TT_FLOAT; return MRB_TT_FLOAT;
......
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