authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-02-22 15:36:57-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-02-22 15:36:57-05:00
logb1ace32f2373914d92459934b9f0697baca9fe83
tree780ad9f5136a0be36b7fa1d71664bf13f5d5ed12
parent786677f80cf7fb34ad8ab45768b910296f9c34cf

fix wrong format specifier

closes #263

1 files changed, 1 insertions(+), 1 deletions(-)

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