mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std.zig.llvm.BitcodeReader: fix 32-bit skipBlock
This commit is contained in:
parent
83960e0eb0
commit
741a66e03c
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue