diff options
| author | gingerBill <bill@gingerbill.org> | 2024-07-15 00:36:00 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-07-15 00:36:00 +0100 |
| commit | 018026d844c8ad3b625f019acee470dbb865d085 (patch) | |
| tree | c61e610bde307e9da891bb2c86ac0981dcd1e9da /src/types.cpp | |
| parent | 139c1bcdda68c30c56ae26a9715a38074b9a1129 (diff) | |
Use `gb_zero_*` calls
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp index 92b187cdb..fdc174d81 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -964,7 +964,7 @@ gb_internal Type *alloc_type(TypeKind kind) { // gbAllocator a = heap_allocator(); gbAllocator a = permanent_allocator(); Type *t = gb_alloc_item(a, Type); - zero_item(t); + gb_zero_item(t); t->kind = kind; t->cached_size = -1; t->cached_align = -1; |