fix build for 32-bit platforms

Change-Id: I113e131eb5c66c42c0bbc60181a7faafc02ca02e
This commit is contained in:
Yureka 2024-10-10 18:46:24 +02:00
parent 9865ebaaa6
commit b77687945e

View file

@ -227,7 +227,7 @@ static Generator<Entry> parseObject(Source & source, const Path & path)
while (left) {
checkInterrupt();
auto n = std::min<uint64_t>(buf.size(), left);
auto n = size_t(std::min<uint64_t>(buf.size(), left));
source(buf.data(), n);
co_yield std::span{buf.data(), n};
left -= n;