morphisms: fix bitshift in lenpfx to msb-cont

This commit is contained in:
Michael Sippel 2025-05-10 17:53:31 +02:00
parent 6f0a0f5927
commit 46f6ecaff6
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -36,6 +36,6 @@ morph_array_as_lenpfx_to_continuation_bit (T:Type)
dst[i] = src->items[i];
if( i+1 < src->len )
dst[i] |= (1<<(n_bits-1));
dst[i] |= ((uint64_t)1<<(n_bits-1));
}
```