mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-10 04:17:57 -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:
@ -202,7 +202,7 @@ long CubebSinkStream::DataCallback(cubeb_stream* stream, void* user_data, const
|
||||
}
|
||||
|
||||
const std::size_t num_channels = impl->GetNumChannels();
|
||||
const std::size_t samples_to_write = num_channels * num_frames;
|
||||
const std::size_t samples_to_write = num_channels * static_cast<u64>(num_frames);
|
||||
std::size_t samples_written;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user