From e47da4ddf3d39be0d6d9470dddac265222767cbb Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 28 Jan 2018 10:35:28 +0000 Subject: [PATCH] method.h: BITFIELD in rb_method_definition_t * method.h (rb_method_definition_struct): use BITFIELD for rb_method_type_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- method.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/method.h b/method.h index e2d121d9b8..0cb1b4135a 100644 --- a/method.h +++ b/method.h @@ -153,7 +153,7 @@ enum method_optimized_type { }; PACKED_STRUCT_UNALIGNED(struct rb_method_definition_struct { - unsigned int type : 4; /* method type */ + BITFIELD(rb_method_type_t) type : 4; int alias_count : 28; int complemented_count : 28;