mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #1026 from crimsonwoods/fix_bitfield_type
fix the type of bit field variable.
This commit is contained in:
@@ -158,8 +158,8 @@ mrb_float_value(mrb_float f)
|
||||
|
||||
#define MRB_OBJECT_HEADER \
|
||||
enum mrb_vtype tt:8;\
|
||||
unsigned int color:3;\
|
||||
unsigned int flags:21;\
|
||||
uint32_t color:3;\
|
||||
uint32_t flags:21;\
|
||||
struct RClass *c;\
|
||||
struct RBasic *gcnext
|
||||
|
||||
|
||||
Reference in New Issue
Block a user