boxing_nan.h (mrb_float_p): wrap macro argument by parenthesis.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-11-04 20:49:19 +09:00
parent c21a094a7f
commit d6f6467ad7
+1 -1
View File
@@ -68,7 +68,7 @@ mrb_nan_boxing_value_float(mrb_value v)
r.u = float_uint_union.u + 0x8004000000000000; \
} while(0)
#define mrb_float_p(o) (((uint64_t)(o.u)&0xfffc000000000000) != 0)
#define mrb_float_p(o) (((uint64_t)((o).u)&0xfffc000000000000) != 0)
struct RInteger {
MRB_OBJECT_HEADER;