mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 05:20:34 +00:00
fix non-portable format specifier
This commit is contained in:
parent
05f1ea33d2
commit
0ac1b83885
@ -19374,7 +19374,7 @@ static IrInstruction *ir_align_cast(IrAnalyze *ira, IrInstruction *target, uint3
|
||||
val->data.x_ptr.data.hard_coded_addr.addr % align_bytes != 0)
|
||||
{
|
||||
ir_add_error(ira, target,
|
||||
buf_sprintf("pointer address 0x%lx is not aligned to %" PRIu32 " bytes",
|
||||
buf_sprintf("pointer address 0x%" ZIG_PRI_x64 " is not aligned to %" PRIu32 " bytes",
|
||||
val->data.x_ptr.data.hard_coded_addr.addr, align_bytes));
|
||||
return ira->codegen->invalid_instruction;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user