aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index 8c746a2f7..41eae2178 100644
--- a/src/check_type.cpp
+++ b/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)) {