Skip to content

Commit

Permalink
std.compress.xz: fix compile error on 32-bit systems
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Jan 24, 2023
1 parent d94613c commit 92ea7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/compress/xz/block.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 92ea7bc

Please sign in to comment.