From ffde2fb5f982856afd9a569d9571b954032f0894 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 19 Oct 2014 19:54:01 +0200 Subject: OS 10.10 compile fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix clang pickiness regarding boolean * ignore ‘verify’ macro * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn) --- gtk2_ardour/port_matrix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/port_matrix.cc') diff --git a/gtk2_ardour/port_matrix.cc b/gtk2_ardour/port_matrix.cc index aa1c853ed8..9a22ed97e6 100644 --- a/gtk2_ardour/port_matrix.cc +++ b/gtk2_ardour/port_matrix.cc @@ -708,7 +708,7 @@ PortMatrix::io_from_bundle (boost::shared_ptr b) const bool PortMatrix::can_add_channels (boost::shared_ptr b) const { - return io_from_bundle (b); + return io_from_bundle (b) != 0; } void @@ -731,7 +731,7 @@ PortMatrix::add_channel (boost::shared_ptr b, DataType t) bool PortMatrix::can_remove_channels (boost::shared_ptr b) const { - return io_from_bundle (b); + return io_from_bundle (b) != 0; } void -- cgit v1.2.3