mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 16:08:23 -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:
@ -23,8 +23,9 @@ bool SinkContext::InUse() const {
|
||||
}
|
||||
|
||||
std::vector<u8> SinkContext::OutputBuffers() const {
|
||||
std::vector<u8> buffer_ret(use_count);
|
||||
std::memcpy(buffer_ret.data(), buffers.data(), use_count);
|
||||
const auto output_use_count = static_cast<size_t>(use_count);
|
||||
std::vector<u8> buffer_ret(output_use_count);
|
||||
std::memcpy(buffer_ret.data(), buffers.data(), output_use_count);
|
||||
return buffer_ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user