mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 21:38:33 +00:00
fix formatted printing warning
needed to use ZIG_PRI_u64 instead of %lu
This commit is contained in:
parent
d5087ccbc8
commit
c45ba49b8b
@ -17689,7 +17689,7 @@ static IrInstGen *ir_analyze_tuple_mult(IrAnalyze *ira, IrInst* source_instr,
|
||||
TypeStructField *src_field = op1_type->data.structure.fields[i % op1_field_count];
|
||||
TypeStructField *new_field = new_type->data.structure.fields[i];
|
||||
|
||||
new_field->name = buf_sprintf("%lu", i);
|
||||
new_field->name = buf_sprintf("%" ZIG_PRI_u64, i);
|
||||
new_field->type_entry = src_field->type_entry;
|
||||
new_field->type_val = src_field->type_val;
|
||||
new_field->src_index = i;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user