aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-07-09 17:13:31 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-07-09 17:13:31 -0400
commit0ac1b83885c7f2a97a8ac25657afcb5c9b80afb4 (patch)
treeef8d450eda4731dc79646924c2b84a0213e26768 /src/ir.cpp
parent05f1ea33d2d2f4ffa2bb6686a6a938d1b7983074 (diff)
downloadzig-0ac1b83885c7f2a97a8ac25657afcb5c9b80afb4.tar.gz
zig-0ac1b83885c7f2a97a8ac25657afcb5c9b80afb4.zip
fix non-portable format specifier
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index dcd39ccfe5..505a32247e 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -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;
}