1
0
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:
v.audacity
2013-10-31 22:28:21 +00:00
parent 95215dd0e1
commit 8408eaf52a
6 changed files with 8 additions and 11 deletions

View File

@@ -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!