always overallocate by 4 bytes in 32-bit output case for /bitarr

This commit is contained in:
dzaima 2023-04-22 23:20:34 +03:00
parent 3ea998a41a
commit c50674d63a

View File

@ -260,11 +260,7 @@ static B where(B x, usz xia, u64 s) {
}
}
} else if (xia <= (usz)I32_MAX+1) {
#if SINGELI_AVX2 && FAST_PDEP
i32* rp; r = m_i32arrv(&rp, s);
#else
i32* rp = m_tyarrvO(&r, 4, s, t_i32arr, 4);
#endif
usz b = bsp_max; TALLOC(i16, buf, b);
i32* rq = rp;
for (usz i=0; i<xia; i+=b) {