fix 32bit

This commit is contained in:
Green Sky 2024-10-20 16:12:56 +02:00
parent 2801fc21fb
commit ed640ba08c
No known key found for this signature in database

View File

@ -164,7 +164,7 @@ bool File2ZSTDR::feedInput(std::variant<ByteSpan, std::vector<uint8_t>>&& read_b
_in_buffer = static_cast<std::vector<uint8_t>>(span); _in_buffer = static_cast<std::vector<uint8_t>>(span);
_z_input = { _z_input = {
_in_buffer.data(), _in_buffer.data(),
span.size, size_t(span.size), // potential down cast
0 0
}; };
} }