[companion] Fix a few reasonable warnings brought up by MSVC /W3. (#4206)
This commit is contained in:
committed by
Bertrand Songis
parent
51f186597c
commit
52b68c9ea2
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -950,7 +950,7 @@ void SetupPanel::startupSwitchEdited(int value)
|
||||
}
|
||||
else {
|
||||
shift = index+1;
|
||||
mask = 0x01ul << shift;
|
||||
mask = 0x01ull << shift;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user