From 79f59951e3dbcf655d5284830f125d6e1962d46c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 20 Sep 2008 19:02:58 +0000 Subject: [PATCH] Fix precedence error. git-svn-id: svn://localhost/ardour2/branches/3.0@3777 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/surfaces/mackie/mackie_control_protocol_poll.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/surfaces/mackie/mackie_control_protocol_poll.cc b/libs/surfaces/mackie/mackie_control_protocol_poll.cc index fa7134fa95..cf72c35678 100644 --- a/libs/surfaces/mackie/mackie_control_protocol_poll.cc +++ b/libs/surfaces/mackie/mackie_control_protocol_poll.cc @@ -105,7 +105,7 @@ void MackieControlProtocol::read_ports() for ( int p = 0; p < nfds; ++p ) { // this will cause handle_midi_any in the MackiePort to be triggered - if ( pfd[p].revents & POLLIN > 0 ) + if ( (pfd[p].revents & POLLIN) > 0 ) { // avoid deadlocking? // doesn't seem to make a difference