From 5c28ff6c41132a98470362d2304fb69b3bb7e4a3 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 17 Aug 2017 23:31:41 +0000 Subject: 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 --- method.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'method.h') 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; -- cgit v1.2.3