summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-03-17 15:50:53 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-17 15:50:53 -0700
commitb58ac0579e1f6981332189775b1e1de839013eb2 (patch)
tree61444944ee009984ab2a671a076873d7a6e2f167 /include
parente4b4e8679fb9d56475ae3a2cbc411bdebc6bf956 (diff)
parent3678d2545c2b90018a6414d1d694709da0b40d31 (diff)
downloadmruby-b58ac0579e1f6981332189775b1e1de839013eb2.tar.gz
mruby-b58ac0579e1f6981332189775b1e1de839013eb2.zip
Merge pull request #1026 from crimsonwoods/fix_bitfield_type
fix the type of bit field variable.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby/value.h b/include/mruby/value.h
index 7f31b0982..eae08855d 100644
--- a/include/mruby/value.h
+++ b/include/mruby/value.h
@@ -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