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:
parent
0a362e241c
commit
d0960b2c57
@ -861,7 +861,7 @@ bool Sequence::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
|
||||
// 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
|
||||
// if the size of the block is bigger than mMaxSamples.
|
||||
if (nValue > mMaxSamples)
|
||||
if (static_cast<unsigned long long>(nValue) > mMaxSamples)
|
||||
{
|
||||
mErrorOpening = true;
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user