mirror of
https://github.com/pgpointcloud/pointcloud.git
synced 2025-12-08 20:36:04 +00:00
Fix 64bit sigbits encoding
This commit is contained in:
parent
45c0fc7820
commit
c72199f1f8
@ -816,7 +816,7 @@ pc_bytes_sigbits_encode_64(const PCBYTES pcb, uint64_t commonvalue, uint8_t comm
|
||||
else
|
||||
{
|
||||
/* First the bit into the current word */
|
||||
uint32_t v = val;
|
||||
uint64_t v = val;
|
||||
int s = abs(shift);
|
||||
v >>= s;
|
||||
*byte_ptr |= v;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user