Skip to content

Commit 4cc9fe9

Browse files
committedNov 4, 2017
fix build on MacOS
1 parent f0d7551 commit 4cc9fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/ir.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15462,7 +15462,7 @@ static TypeTableEntry *ir_analyze_instruction_arg_type(IrAnalyze *ira, IrInstruc
1546215462
FnTypeId *fn_type_id = &fn_type->data.fn.fn_type_id;
1546315463
if (arg_index >= fn_type_id->param_count) {
1546415464
ir_add_error(ira, arg_index_inst,
15465-
buf_sprintf("arg index %" ZIG_PRI_usize " out of bounds; '%s' has %" ZIG_PRI_usize " arguments",
15465+
buf_sprintf("arg index %" ZIG_PRI_u64 " out of bounds; '%s' has %" ZIG_PRI_usize " arguments",
1546615466
arg_index, buf_ptr(&fn_type->name), fn_type_id->param_count));
1546715467
return ira->codegen->builtin_types.entry_invalid;
1546815468
}

0 commit comments

Comments
 (0)
Please sign in to comment.