mirror of
https://github.com/ziglang/zig.git
synced 2026-01-10 17:35:12 +00:00
elf: fix more int resolution issues
This commit is contained in:
parent
56296694d9
commit
9cf3ebe524
@ -554,7 +554,7 @@ pub fn writeAr(self: ZigObject, elf_file: *Elf, writer: anytype) !void {
|
||||
|
||||
const hdr = Archive.setArHdr(.{
|
||||
.name = if (name.len <= 15) .{ .name = name } else .{ .name_off = self.output_ar_state.name_off },
|
||||
.size = size,
|
||||
.size = @intCast(size),
|
||||
});
|
||||
try writer.writeAll(mem.asBytes(&hdr));
|
||||
try writer.writeAll(contents);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user