word_boxing.h used int to represent symbols; use mrb_sym instead

parent f03c2357
...@@ -44,7 +44,7 @@ typedef union mrb_value { ...@@ -44,7 +44,7 @@ typedef union mrb_value {
}; };
struct { struct {
unsigned int sym_flag : MRB_SPECIAL_SHIFT; unsigned int sym_flag : MRB_SPECIAL_SHIFT;
int sym : (sizeof(mrb_sym) * CHAR_BIT); mrb_sym sym : (sizeof(mrb_sym) * CHAR_BIT);
}; };
struct RBasic *bp; struct RBasic *bp;
struct RFloat *fp; struct RFloat *fp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment