std.compress.xz: fix compile error on 32-bit systems

This commit is contained in:
Andrew Kelley 2023-01-24 15:23:34 -07:00
parent d94613c1d0
commit 92ea7bce5d

View File

@ -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;
};