Skip to content

Commit

Permalink
fix non-portable format specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Jul 9, 2018
1 parent 05f1ea3 commit 0ac1b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ir.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0ac1b83

Please sign in to comment.