mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 16:27:56 -05:00
core: Fix clang build
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
This commit is contained in:
@ -454,7 +454,8 @@ private:
|
||||
write_size = std::min<u64>(write_size, files.size());
|
||||
std::vector<DeliveryCacheDirectoryEntry> entries(write_size);
|
||||
std::transform(
|
||||
files.begin(), files.begin() + write_size, entries.begin(), [](const auto& file) {
|
||||
files.begin(), files.begin() + static_cast<s64>(write_size), entries.begin(),
|
||||
[](const auto& file) {
|
||||
FileName name{};
|
||||
std::memcpy(name.data(), file->GetName().data(),
|
||||
std::min(file->GetName().size(), name.size()));
|
||||
|
Reference in New Issue
Block a user