mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 15:13:08 +00:00
stage2: Fix 32bit builds
This commit is contained in:
parent
65aa333197
commit
bb05a8a08a
@ -1123,7 +1123,7 @@ pub const Value = extern union {
|
||||
var offset: usize = 0;
|
||||
for (elems) |*elem| {
|
||||
elem.* = try readFromMemory(elem_ty, target, buffer[offset..], arena);
|
||||
offset += elem_size;
|
||||
offset += @intCast(usize, elem_size);
|
||||
}
|
||||
return Tag.array.create(arena, elems);
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user