aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-02-22 17:26:32 +0000
committergingerBill <bill@gingerbill.org>2024-02-22 17:26:32 +0000
commit59479b2ba622a0c8ee528eabd84c99c955bc0ea8 (patch)
tree8e02120f238bd94189c2a4010e423f4b423b9b31 /src/check_type.cpp
parent007bd993a6395480c078f8cd3dc8dd7af748175d (diff)
Fix typo
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)) {