From f6ba1d2271aae8a9d5ff537380d4db718120338b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 15 Oct 2013 10:58:46 -0400 Subject: [PATCH] fix signed/unsigned issue pointed out by old apple gcc --- libs/surfaces/mackie/mackie_control_protocol.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/surfaces/mackie/mackie_control_protocol.cc b/libs/surfaces/mackie/mackie_control_protocol.cc index 32be851247..b55ac74c35 100644 --- a/libs/surfaces/mackie/mackie_control_protocol.cc +++ b/libs/surfaces/mackie/mackie_control_protocol.cc @@ -1382,7 +1382,7 @@ MackieControlProtocol::add_down_select_button (int surface, int strip) void MackieControlProtocol::remove_down_select_button (int surface, int strip) { - DownButtonList::iterator x = find (_down_select_buttons.begin(), _down_select_buttons.end(), (surface<<8)|(strip&0xf)); + DownButtonList::iterator x = find (_down_select_buttons.begin(), _down_select_buttons.end(), (uint32_t) (surface<<8)|(strip&0xf)); DEBUG_TRACE (DEBUG::MackieControl, string_compose ("removing surface %1 strip %2 from down select buttons\n", surface, strip)); if (x != _down_select_buttons.end()) { _down_select_buttons.erase (x);