std.zig.llvm.BitcodeReader: fix 32-bit skipBlock
This commit is contained in:
@@ -177,7 +177,7 @@ pub fn next(bc: *BitcodeReader) !?Item {
|
||||
|
||||
pub fn skipBlock(bc: *BitcodeReader, block: Block) !void {
|
||||
assert(bc.bit_offset == 0);
|
||||
try bc.reader.discardAll(4 * @as(u34, block.len));
|
||||
try bc.reader.discardAll(4 * @as(usize, block.len));
|
||||
try bc.endBlock();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user