1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Fix signed/unsigned comparison warnings.

This commit is contained in:
James Crook
2019-12-06 11:33:22 +00:00
parent 7f3c40eb43
commit 23f05c618c
7 changed files with 11 additions and 14 deletions

View File

@@ -76,7 +76,7 @@ bool SetLabelCommand::Apply(const CommandContext & context)
for (auto lt : tracks.Any<LabelTrack>()) {
const auto &labels = lt->GetLabels();
const auto nLabels = labels.size();
if( ii >= nLabels )
if( ii >= (int)nLabels )
ii -= nLabels;
else {
labelTrack = lt;