summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-02 23:43:13 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-02 23:43:13 +0900
commit81c0e2e03115ad0eec31ac314cdb46ca364937e2 (patch)
treef8f4919c5b645fe5f8fadd39e385dc2f6826322a
parent7a3605cdd220b57cfd698dfce2c98f28d4a1018d (diff)
downloadmruby-81c0e2e03115ad0eec31ac314cdb46ca364937e2.tar.gz
mruby-81c0e2e03115ad0eec31ac314cdb46ca364937e2.zip
make color in OBJECT_HEADER unsigned
-rw-r--r--include/mruby/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/object.h b/include/mruby/object.h
index 495c34083..4be060078 100644
--- a/include/mruby/object.h
+++ b/include/mruby/object.h
@@ -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