diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-31 14:19:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-31 14:19:15 +0000 |
commit | d46766aefff101f05558c304c380e1b4aac40774 (patch) | |
tree | af4cc633c927b105b2f85ce752fd9934f82d1233 /libs/ardour/plugin_insert.cc | |
parent | 66c9e166f8bb99bf4619edc79fe6720514cc2faa (diff) |
Fix comparison of < 0 with bool.
git-svn-id: svn://localhost/ardour2/branches/3.0@8623 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/plugin_insert.cc')
-rw-r--r-- | libs/ardour/plugin_insert.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<Plugin> 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; } |