diff options
| author | gingerBill <bill@gingerbill.org> | 2020-12-08 15:03:46 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-12-08 15:03:46 +0000 |
| commit | 15bf57e4e193f8e5a545517210526fb7144048e8 (patch) | |
| tree | cd9f5d57e38522e30fa99d0271cc74233dc34db6 /src/ir.cpp | |
| parent | 83cd2473f266870c66686e643b7898f6812e122c (diff) | |
Fix typo
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); } |