diff --git a/release/c/wuffs-unsupported-snapshot.c b/release/c/wuffs-unsupported-snapshot.c index 67c821bf..cb6cd51d 100644 --- a/release/c/wuffs-unsupported-snapshot.c +++ b/release/c/wuffs-unsupported-snapshot.c @@ -18438,7 +18438,7 @@ wuffs_json__decoder__decode_tokens(wuffs_json__decoder* self, v_stack_byte = (v_depth / 32); v_stack_bit = (v_depth & 31); self->private_data.f_stack[v_stack_byte] &= - (0 ^ (((uint32_t)(1)) << v_stack_bit)); + (4294967295 ^ (((uint32_t)(1)) << v_stack_bit)); v_depth += 1; (iop_a_src += 1, wuffs_base__make_empty_struct()); *iop_a_dst++ = wuffs_base__make_token( diff --git a/std/json/decode_json.wuffs b/std/json/decode_json.wuffs index c65f33a0..24af67bc 100644 --- a/std/json/decode_json.wuffs +++ b/std/json/decode_json.wuffs @@ -246,7 +246,7 @@ pub func decoder.decode_tokens?(dst: base.token_writer, src: base.io_reader) { } stack_byte = depth / 32 stack_bit = depth & 31 - this.stack[stack_byte] &= 0 ^ ((1 as base.u32) << stack_bit) + this.stack[stack_byte] &= 0xFFFF_FFFF ^ ((1 as base.u32) << stack_bit) depth += 1 args.src.skip32_fast!(actual: 1, worst_case: 1)