This commit is contained in:
gingerBill
2020-12-08 15:03:46 +00:00
parent 83cd2473f2
commit 15bf57e4e1
+1 -1
View File
@@ -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);
}