diff options
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |