object.h: change gccolor type to unsigned int

I was uncomfortable with the combination of an integer with a size
specification (uint32_t) and a bit field.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-01-04 18:00:01 +09:00
parent 0e79f6b34b
commit 6f8bfed18e
+1 -1
View File
@@ -11,7 +11,7 @@
struct RClass *c; \
struct RBasic *gcnext; \
enum mrb_vtype tt:8; \
uint32_t gccolor:3; \
unsigned int gccolor:3; \
uint32_t flags:21
#define MRB_FLAG_TEST(obj, flag) ((obj)->flags & (flag))