mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
fix build
This commit is contained in:
parent
633b1809a5
commit
49079ee85c
@ -64,7 +64,9 @@ bool ZlibInflatingReadBuffer::nextImpl()
|
||||
{
|
||||
in->nextIfAtEnd();
|
||||
zstr.next_in = reinterpret_cast<unsigned char *>(in->position());
|
||||
zstr.avail_in = static_cast<BufferSizeType>(std::min(in->buffer().end() - in->position(), static_cast<Int64>(max_buffer_size)));
|
||||
zstr.avail_in = static_cast<BufferSizeType>(std::min(
|
||||
static_cast<UInt64>(in->buffer().end() - in->position()),
|
||||
static_cast<UInt64>(max_buffer_size)));
|
||||
}
|
||||
|
||||
/// init output bytes (place, where decompressed data will be)
|
||||
|
Loading…
Reference in New Issue
Block a user