forked from lix-project/lix
fix build for 32-bit platforms
Change-Id: I113e131eb5c66c42c0bbc60181a7faafc02ca02e
This commit is contained in:
parent
9865ebaaa6
commit
b77687945e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue