Commit 92ea7bce5d

Andrew Kelley <andrew@ziglang.org>
2023-01-24 23:23:34
std.compress.xz: fix compile error on 32-bit systems
1 parent d94613c
Changed files (1)
lib
std
compress
lib/std/compress/xz/block.zig
@@ -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;
                     };