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:
parent
c6502e2a83
commit
1221374be9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue