1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-19 09:30:52 +02:00

fixed a "signed vs. unsigned" warning

This commit is contained in:
andheh 2018-02-26 11:22:49 +01:00 committed by James Crook
parent 0a362e241c
commit d0960b2c57

View File

@ -861,7 +861,7 @@ bool Sequence::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
// The check intended here was already done in DirManager::HandleXMLTag(), where // The check intended here was already done in DirManager::HandleXMLTag(), where
// it let the block be built, then checked against mMaxSamples, and deleted the block // it let the block be built, then checked against mMaxSamples, and deleted the block
// if the size of the block is bigger than mMaxSamples. // if the size of the block is bigger than mMaxSamples.
if (nValue > mMaxSamples) if (static_cast<unsigned long long>(nValue) > mMaxSamples)
{ {
mErrorOpening = true; mErrorOpening = true;
return false; return false;