We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f34b584 commit e6b00c8Copy full SHA for e6b00c8
1 file changed
src/audioBuffer.hpp
@@ -434,7 +434,7 @@ class AudioBuffer
434
float gain, std::array<float, PanSize> pan)
435
{
436
if constexpr (PanSize > 0)
437
- assert(pan.size() == b.countChannels());
+ assert(pan.size() == static_cast<std::size_t>(b.countChannels()));
438
439
for (int destCh = 0, srcCh = 0; destCh < countChannels(); destCh++, srcCh++)
440
0 commit comments