Add gcc suggested parentheses

This commit is contained in:
Robin Gareus 2017-02-17 23:29:12 +01:00
parent b475a81f98
commit 09bb0bf1e6

View File

@ -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