gingerBill 1 year ago
parent
commit
59479b2ba6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/check_type.cpp

+ 1 - 1
src/check_type.cpp

@@ -927,7 +927,7 @@ gb_internal void check_enum_type(CheckerContext *ctx, Type *enum_type, Type *nam
 
 gb_internal bool is_valid_bit_field_backing_type(Type *type) {
 	if (type == nullptr) {
-		return nullptr;
+		return false;
 	}
 	type = base_type(type);
 	if (is_type_untyped(type)) {