zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit b1ace32f2373914d92459934b9f0697baca9fe83 (tree)
parent 786677f80cf7fb34ad8ab45768b910296f9c34cf
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Wed, 22 Feb 2017 15:36:57 -0500

fix wrong format specifier

closes #263

Diffstat:
Msrc/ir.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ir.cpp b/src/ir.cpp @@ -8952,7 +8952,7 @@ static TypeTableEntry *ir_analyze_instruction_elem_ptr(IrAnalyze *ira, IrInstruc } if (new_index >= mem_size) { ir_add_error_node(ira, elem_ptr_instruction->base.source_node, - buf_sprintf("index %" PRIu64 " outside pointer of size %" PRIu64, index, old_size)); + buf_sprintf("index %" PRIu64 " outside pointer of size %zu", index, old_size)); return ira->codegen->builtin_types.entry_invalid; } } else if (is_slice(array_type)) {