diff options
author | David Robillard <d@drobilla.net> | 2008-05-01 21:16:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-05-01 21:16:31 +0000 |
commit | cf3b42691ab193c19062ae22370d518139543a24 (patch) | |
tree | b8b7a87348535037b969f583fc4c05edfbc0b20f /src/JackDriver.cpp | |
parent | 6fdb4298b3688ea03a9cae4175a21e4d96a62070 (diff) | |
download | patchage-cf3b42691ab193c19062ae22370d518139543a24.tar.gz patchage-cf3b42691ab193c19062ae22370d518139543a24.tar.bz2 patchage-cf3b42691ab193c19062ae22370d518139543a24.zip |
GCC 4.3 fixes.
git-svn-id: http://svn.drobilla.net/lad/patchage@1191 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/JackDriver.cpp')
-rw-r--r-- | src/JackDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index fc6472b..44c3b99 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -126,7 +126,7 @@ JackDriver::destroy_all_ports() PortVector ports = module->ports(); // copy for (PortVector::iterator p = ports.begin(); p != ports.end(); ++p) { boost::shared_ptr<PatchagePort> port = boost::dynamic_pointer_cast<PatchagePort>(*p); - if (port && port->type() == JACK_AUDIO || port->type() == JACK_MIDI) { + if ((port && port->type() == JACK_AUDIO) || (port->type() == JACK_MIDI)) { module->remove_port(port); port->hide(); } |