summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--method.h2
1 files changed, 1 insertions, 1 deletions
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;