diff options
author | Carl Hetherington <carl@carlh.net> | 2012-03-25 19:45:39 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-03-25 19:45:39 +0000 |
commit | e7d2509ad9a40a4f75856b620cd366df6e454216 (patch) | |
tree | c9ec24140b8f698e1c4c9650bacb9ca4438f4f43 | |
parent | b25c60356c88b2c391a00d2308dfe8ea3b9e35a4 (diff) |
Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@11759 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/generic_pluginui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc index af294e89c2..3f8d0f63c9 100644 --- a/gtk2_ardour/generic_pluginui.cc +++ b/gtk2_ardour/generic_pluginui.cc @@ -518,7 +518,7 @@ GenericPluginUI::build_control_ui (guint32 port_index, boost::shared_ptr<Automat */ int const steps = desc.integer_step ? (desc.upper - desc.lower + 1) / desc.step : 0; - if (control_ui->scale_points && ((steps && control_ui->scale_points->size() == steps) || desc.enumeration)) { + if (control_ui->scale_points && ((steps && int (control_ui->scale_points->size()) == steps) || desc.enumeration)) { /* Either: * a) There is a label for each possible value of this input, or |