From d46766aefff101f05558c304c380e1b4aac40774 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 31 Jan 2011 14:19:15 +0000 Subject: Fix comparison of < 0 with bool. git-svn-id: svn://localhost/ardour2/branches/3.0@8623 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/plugin_insert.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/plugin_insert.cc') diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 25c885f5a6..16c8cce47d 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -536,7 +536,7 @@ PluginInsert::plugin_factory (boost::shared_ptr other) bool PluginInsert::configure_io (ChanCount in, ChanCount out) { - if (set_count (count_for_configuration (in, out)) < 0) { + if (set_count (count_for_configuration (in, out)) == false) { return false; } @@ -547,7 +547,7 @@ PluginInsert::configure_io (ChanCount in, ChanCount out) if we running a single plugin, we need to configure it. */ - if (_plugins.front()->configure_io (in, out) < 0) { + if (_plugins.front()->configure_io (in, out) == false) { return false; } -- cgit v1.2.3