mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
Get rid of some compiler warnings.
This commit is contained in:
@@ -506,7 +506,7 @@ bool Sequence::Paste(sampleCount s, const Sequence *src)
|
||||
return ConsistencyCheck(wxT("Paste branch one"));
|
||||
}
|
||||
|
||||
if (b >= 0 && b < numBlocks
|
||||
if ((b >= 0 ) && (b < (int)numBlocks)
|
||||
&& ((mBlock->Item(b)->f->GetLength() + addedLen) < mMaxSamples)) {
|
||||
// Special case: we can fit all of the new samples inside of
|
||||
// one block!
|
||||
|
||||
Reference in New Issue
Block a user