mirror of
https://github.com/ziglang/zig.git
synced 2026-01-16 12:25:21 +00:00
macho: fix 32bit builds
This commit is contained in:
parent
e3b6d347b2
commit
114518c6b0
@ -231,7 +231,7 @@ pub const ArSymtab = struct {
|
||||
try writeInt(format, file_off, writer);
|
||||
}
|
||||
// Strtab size
|
||||
const strtab_size = mem.alignForward(u64, ar.strtab.buffer.items.len, ptr_width);
|
||||
const strtab_size = mem.alignForward(usize, ar.strtab.buffer.items.len, ptr_width);
|
||||
const padding = strtab_size - ar.strtab.buffer.items.len;
|
||||
try writeInt(format, strtab_size, writer);
|
||||
// Strtab
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user