diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-11-04 16:40:55 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-11-04 16:40:55 -0400 |
| commit | 4cc9fe90a8a3c0bce803bf9fffd66477da9e37d0 (patch) | |
| tree | 37546d812ac53edfe2c67298f749c74e996319f3 | |
| parent | f0d755153d90f35da612c8aa6f1853f5112f5cf1 (diff) | |
| download | zig-4cc9fe90a8a3c0bce803bf9fffd66477da9e37d0.tar.gz zig-4cc9fe90a8a3c0bce803bf9fffd66477da9e37d0.zip | |
fix build on MacOS
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 49e043a837..556f255a0a 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -15462,7 +15462,7 @@ static TypeTableEntry *ir_analyze_instruction_arg_type(IrAnalyze *ira, IrInstruc FnTypeId *fn_type_id = &fn_type->data.fn.fn_type_id; if (arg_index >= fn_type_id->param_count) { ir_add_error(ira, arg_index_inst, - buf_sprintf("arg index %" ZIG_PRI_usize " out of bounds; '%s' has %" ZIG_PRI_usize " arguments", + buf_sprintf("arg index %" ZIG_PRI_u64 " out of bounds; '%s' has %" ZIG_PRI_usize " arguments", arg_index, buf_ptr(&fn_type->name), fn_type_id->param_count)); return ira->codegen->builtin_types.entry_invalid; } |
