Skip to content

Commit

Permalink
mach: fix compilation on latest zig
Browse files Browse the repository at this point in the history
  • Loading branch information
alichraghi committed Dec 17, 2022
1 parent d3908cb commit 6405617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/util.zig
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,5 @@ pub fn msgSend(obj: anytype, sel_name: [:0]const u8, args: anytype, comptime Ret
var func = @ptrCast(FnType, &objc.objc_msgSend);
const sel = objc.sel_getUid(@ptrCast([*c]const u8, sel_name));

return @call(.{}, func, .{ obj, sel } ++ args);
return @call(.auto, func, .{ obj, sel } ++ args);
}

0 comments on commit 6405617

Please sign in to comment.