| author | |
| committer | |
| log | 83a668195526df745362b1174bfd643a0cdfb128 |
| tree | e8f353036e356d88515d343f18f4bd4ba5d4aea3 |
| parent | de81c504b187279e6daba30df9673835f7f6c1eb |
This wasn't caught by the CI checks because this function is is only
called for the `use_stage1` codepath.1 files changed, 1 insertions(+), 1 deletions(-)
src/link/MachO.zig+1-1| ... | ... | @@ -1985,7 +1985,7 @@ fn writeAllAtoms(self: *MachO) !void { |
| 1985 | 1985 | |
| 1986 | 1986 | var buffer = std.ArrayList(u8).init(self.base.allocator); |
| 1987 | 1987 | defer buffer.deinit(); |
| 1988 | try buffer.ensureTotalCapacity(sect.size); | |
| 1988 | try buffer.ensureTotalCapacity(try math.cast(usize, sect.size)); | |
| 1989 | 1989 | |
| 1990 | 1990 | log.debug("writing atoms in {s},{s}", .{ commands.segmentName(sect), commands.sectionName(sect) }); |
| 1991 | 1991 |