Use gb_zero_* calls

This commit is contained in:
gingerBill
2024-07-15 00:36:00 +01:00
parent 139c1bcdda
commit 018026d844
5 changed files with 6 additions and 13 deletions

View File

@@ -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;