diff options
| author | Brendan Punsky <bpunsky@gmail.com> | 2019-03-18 17:22:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-18 17:22:57 -0400 |
| commit | e3d1d1d85c68b6ebc999cae648e55c692e1258d2 (patch) | |
| tree | 728eddb83aef26c892bf21f53f937cd6094fdd2d /src/ir_print.cpp | |
| parent | b6ea7b741831f7cceaf43eaf116995d6ff386fb5 (diff) | |
| parent | 290c111206b9386e7feb3023cda13b0e01483647 (diff) | |
Merge branch 'master' into master
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 97194e794..53c318e47 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -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) { |