make color in OBJECT_HEADER unsigned

This commit is contained in:
Yukihiro Matsumoto
2012-06-02 23:43:13 +09:00
parent 7a3605cdd2
commit 81c0e2e031
+1 -1
View File
@@ -13,7 +13,7 @@ extern "C" {
#define MRUBY_OBJECT_HEADER \
enum mrb_vtype tt:8; \
int color:3;\
unsigned int color:3;\
unsigned int flags:21;\
struct RClass *c;\
struct RBasic *gcnext