From 15bf57e4e193f8e5a545517210526fb7144048e8 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 8 Dec 2020 15:03:46 +0000 Subject: Fix typo --- src/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index 244666dd9..34b64562f 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -3190,7 +3190,7 @@ bool ir_type_requires_mem_zero(Type *t) { } else { i64 packed_sized = 0; for_array(i, t->Struct.fields) { - Type *f = t->Struct.fields[i]; + Entity *f = t->Struct.fields[i]; if (f->kind == Entity_Variable) { packed_sized += type_size_of(f->type); } -- cgit v1.2.3