diff options
| author | gingerBill <bill@gingerbill.org> | 2024-02-22 17:26:32 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-02-22 17:26:32 +0000 |
| commit | 59479b2ba622a0c8ee528eabd84c99c955bc0ea8 (patch) | |
| tree | 8e02120f238bd94189c2a4010e423f4b423b9b31 /src | |
| parent | 007bd993a6395480c078f8cd3dc8dd7af748175d (diff) | |
Fix typo
Diffstat (limited to 'src')
| -rw-r--r-- | src/check_type.cpp | 2 |
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)) { |