mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Fix typo
This commit is contained in:
+1
-1
@@ -3190,7 +3190,7 @@ bool ir_type_requires_mem_zero(Type *t) {
|
|||||||
} else {
|
} else {
|
||||||
i64 packed_sized = 0;
|
i64 packed_sized = 0;
|
||||||
for_array(i, t->Struct.fields) {
|
for_array(i, t->Struct.fields) {
|
||||||
Type *f = t->Struct.fields[i];
|
Entity *f = t->Struct.fields[i];
|
||||||
if (f->kind == Entity_Variable) {
|
if (f->kind == Entity_Variable) {
|
||||||
packed_sized += type_size_of(f->type);
|
packed_sized += type_size_of(f->type);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user