fix build

This commit is contained in:
Anton Popov 2023-03-23 15:31:36 +00:00
parent 633b1809a5
commit 49079ee85c

View File

@ -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)