mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update unaligned.h
This commit is contained in:
parent
6cc08afb72
commit
dd96aee8d2
@ -11,7 +11,7 @@ inline void reverseMemcpy(void * dst, const void * src, size_t size)
|
||||
const uint8_t * uint_src = reinterpret_cast<const uint8_t *>(src);
|
||||
|
||||
uint_dst += size;
|
||||
while (length)
|
||||
while (size)
|
||||
{
|
||||
--uint_dst;
|
||||
*uint_dst = *uint_src;
|
||||
|
Loading…
Reference in New Issue
Block a user