diff options
author | LC <mathew1800@gmail.com> | 2020-10-21 04:08:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 04:08:53 +0200 |
commit | 2e74b79e89fe1e6a21fe0d8650844e563b3c32f5 (patch) | |
tree | 0dbc65ac86e609ae22087c7be9d4759ac6b73004 /src/core/hle/service/bcat/module.cpp | |
parent | kernel: Fix build with recent compiler flag changes (diff) | |
parent | Revert "core: Fix clang build" (diff) | |
download | yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.gz yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.bz2 yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.lz yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.xz yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.zst yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.zip |
Diffstat (limited to 'src/core/hle/service/bcat/module.cpp')
-rw-r--r-- | src/core/hle/service/bcat/module.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/bcat/module.cpp b/src/core/hle/service/bcat/module.cpp index 5a7e9f930..db0e06ca1 100644 --- a/src/core/hle/service/bcat/module.cpp +++ b/src/core/hle/service/bcat/module.cpp @@ -454,8 +454,7 @@ private: write_size = std::min<u64>(write_size, files.size()); std::vector<DeliveryCacheDirectoryEntry> entries(write_size); std::transform( - files.begin(), files.begin() + static_cast<s64>(write_size), entries.begin(), - [](const auto& file) { + files.begin(), files.begin() + write_size, entries.begin(), [](const auto& file) { FileName name{}; std::memcpy(name.data(), file->GetName().data(), std::min(file->GetName().size(), name.size())); |