aboutsummaryrefslogtreecommitdiffstats
path: root/method.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-17 23:31:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-17 23:31:41 +0000
commit87aa5c0848c8ae053b67aaf667e8e0a3def0a0d6 (patch)
tree90e4ce9cc96c4cd2c7b2a5408686e50f2b5e45ff /method.h
parent3732640d7df18fd76c93e6e52ae99f15086ecc45 (diff)
downloadruby-87aa5c0848c8ae053b67aaf667e8e0a3def0a0d6.tar.gz
Revert r59612
* method.h (rb_method_definition_t): rb_method_type_t should be unsigned as it needs 5bits at least for signed extension. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'method.h')
-rw-r--r--method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/method.h b/method.h
index 14bbc8c001..57a8602566 100644
--- a/method.h
+++ b/method.h
@@ -151,7 +151,7 @@ enum method_optimized_type {
};
PACKED_STRUCT_UNALIGNED(struct rb_method_definition_struct {
- rb_method_type_t type : 4; /* method type */
+ unsigned int type : 4; /* method type */
int alias_count : 28;
int complemented_count : 28;