Merge "fix build for 32-bit platforms" into main

This commit is contained in:
Yureka
2024-10-26 15:46:05 +00:00
committed by Gerrit Code Review
+1 -1
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;