morphisms: fix bitshift in lenpfx to msb-cont
This commit is contained in:
parent
6f0a0f5927
commit
46f6ecaff6
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue