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;