mirror of
https://github.com/ziglang/zig.git
synced 2026-02-10 03:20:58 +00:00
std.compress.xz: fix compile error on 32-bit systems
This commit is contained in:
parent
d94613c1d0
commit
92ea7bce5d
@ -268,7 +268,7 @@ pub fn Decoder(comptime ReaderType: type) type {
|
||||
};
|
||||
|
||||
const packed_size = blk: {
|
||||
var tmp: u64 = try packed_reader.readIntBig(u16);
|
||||
const tmp: u17 = try packed_reader.readIntBig(u16);
|
||||
break :blk tmp + 1;
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user