mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 03:42:23 -07:00
Fix #raw_union bug caused by typo #349
This commit is contained in:
+1
-1
@@ -471,7 +471,7 @@ void ir_print_type(irFileBuffer *f, irModule *m, Type *t, bool in_struct) {
|
||||
i64 align_of_union = type_align_of(t);
|
||||
ir_write_byte(f, '{');
|
||||
ir_print_alignment_prefix_hack(f, align_of_union);
|
||||
ir_fprintf(f, ", [%lld x i8]}", align_of_union, size_of_union);
|
||||
ir_fprintf(f, ", [%lld x i8]}", size_of_union);
|
||||
return;
|
||||
} else {
|
||||
if (t->Struct.is_packed) {
|
||||
|
||||
Reference in New Issue
Block a user