authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-04-08 19:30:18-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-04-08 19:30:18-04:00
logc45ba49b8b6e8abeb2e96d28860273247e61ab18
tree6b336aab6e6dec24441f179fdb91a5860b732784
parentd5087ccbc8729a252c6fd0d2fe71a55e4b136e3a
signaturelock-open Commit is signed but in an unrecognized format.

fix formatted printing warning

needed to use ZIG_PRI_u64 instead of %lu

1 files changed, 1 insertions(+), 1 deletions(-)

src/ir.cpp+1-1
......@@ -17689,7 +17689,7 @@ static IrInstGen *ir_analyze_tuple_mult(IrAnalyze *ira, IrInst* source_instr,
1768917689 TypeStructField *src_field = op1_type->data.structure.fields[i % op1_field_count];
1769017690 TypeStructField *new_field = new_type->data.structure.fields[i];
1769117691
17692 new_field->name = buf_sprintf("%lu", i);
17692 new_field->name = buf_sprintf("%" ZIG_PRI_u64, i);
1769317693 new_field->type_entry = src_field->type_entry;
1769417694 new_field->type_val = src_field->type_val;
1769517695 new_field->src_index = i;