summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-10-03 11:02:06 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-10-03 11:02:06 +0900
commit2b3675bca13e292fc2d1a1734d6ba8a078f8edd5 (patch)
treed642f0727fbf3cd98524c065e7016492c6c6a36a
parentf03c23572d4dd106290af5bc17d4798ffca2d31b (diff)
downloadmruby-2b3675bca13e292fc2d1a1734d6ba8a078f8edd5.tar.gz
mruby-2b3675bca13e292fc2d1a1734d6ba8a078f8edd5.zip
word_boxing.h used int to represent symbols; use mrb_sym instead
-rw-r--r--include/mruby/boxing_word.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/boxing_word.h b/include/mruby/boxing_word.h
index 60ef809bb..45e4b89fe 100644
--- a/include/mruby/boxing_word.h
+++ b/include/mruby/boxing_word.h
@@ -44,7 +44,7 @@ typedef union mrb_value {
};
struct {
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 RFloat *fp;