Add gcc suggested parentheses
This commit is contained in:
parent
b475a81f98
commit
09bb0bf1e6
@ -142,7 +142,7 @@ PatchChangeDialog::PatchChangeDialog (
|
||||
int
|
||||
PatchChangeDialog::get_14bit_bank () const
|
||||
{
|
||||
return _bank_msb.get_value_as_int() << 7 + _bank_lsb.get_value_as_int();
|
||||
return (_bank_msb.get_value_as_int() << 7) + _bank_lsb.get_value_as_int();
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user