Merge remote-tracking branch 'origin/master'

This commit is contained in:
张晟钰 2024-04-22 09:36:44 +08:00
commit 3bca2d9dda

View File

@ -167,7 +167,7 @@ int FileAccessExtStubImpl::ListFile(const FileInfo &fileInfo, const int64_t offs
}
break;
}
if (fileInfoVec.empty() ||(maxCounts > static_cast<int64_t>(fileInfoVec.size())
if (fileInfoVec.empty() ||(maxCounts > static_cast<uint64_t>(fileInfoVec.size())
&& currentWriteCounts == fileInfoVec.size())) {
memInfo.isOver = true;
break;