[companion] Fix a few reasonable warnings brought up by MSVC /W3. (#4206)

This commit is contained in:
Max Paperno
2017-01-07 08:33:56 +01:00
committed by Bertrand Songis
parent 51f186597c
commit 52b68c9ea2
5 changed files with 9 additions and 11 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ void MixesPanel::update()
QString str = "";
while (curDest < mix.destCh-1) {
curDest++;
AddMixerLine(-curDest);
AddMixerLine(-int(curDest));
}
if (AddMixerLine(i)) {
curDest++;
@@ -87,7 +87,7 @@ void MixesPanel::update()
while (curDest < outputs) {
curDest++;
AddMixerLine(-curDest);
AddMixerLine(-int(curDest));
}
}