1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

DSP: Fixed an incorrect assertion in one of the AudioBlock constructors

This commit is contained in:
ed 2019-04-29 15:25:41 +01:00
parent c6502e2a83
commit 1221374be9

View file

@ -163,7 +163,7 @@ public:
startSample (startSampleIndex),
numSamples (static_cast<size_t> (buffer.getNumSamples()) - startSampleIndex)
{
jassert (startSample < numSamples);
jassert (startSample < static_cast<size_t> (buffer.getNumSamples()));
}
AudioBlock (const AudioBlock& other) noexcept = default;