mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Use crc32_z() over crc32(), since it size_t for length
This commit is contained in:
parent
2d2e738085
commit
04f1e6b2cc
@ -62,7 +62,7 @@ struct CRC32ZLIBImpl
|
||||
static constexpr auto name = "CRC32";
|
||||
|
||||
static UInt32 make_crc(const unsigned char *buf, size_t size)
|
||||
{ return crc32(0L, buf, size); }
|
||||
{ return crc32_z(0L, buf, size); }
|
||||
};
|
||||
|
||||
} // \anonymous
|
||||
|
Loading…
Reference in New Issue
Block a user