aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 274ad2ced..3a0613b2c 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -770,7 +770,7 @@ void set_base_type(Type *t, Type *base) {
Type *alloc_type(TypeKind kind) {
gbAllocator a = heap_allocator();
Type *t = gb_alloc_item(a, Type);
- gb_zero_item(t);
+ zero_item(t);
t->kind = kind;
t->cached_size = -1;
t->cached_align = -1;