mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
plan9 linker: fix for 32 bit
This commit is contained in:
parent
010ca69864
commit
370be12652
@ -36,7 +36,7 @@ hdr: aout.ExecHdr = undefined,
|
||||
|
||||
entry_val: ?u64 = null,
|
||||
|
||||
got_len: u64 = 0,
|
||||
got_len: usize = 0,
|
||||
|
||||
const Bases = struct {
|
||||
text: u64,
|
||||
@ -243,7 +243,7 @@ pub fn flushModule(self: *Plan9, comp: *Compilation) !void {
|
||||
const hdr_slice: []u8 = hdr_buf[0..hdr_size];
|
||||
var foff = hdr_size;
|
||||
iovecs[0] = .{ .iov_base = hdr_slice.ptr, .iov_len = hdr_slice.len };
|
||||
var iovecs_i: u64 = 1;
|
||||
var iovecs_i: usize = 1;
|
||||
var text_i: u64 = 0;
|
||||
// text
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user