summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r--gtk2_ardour/plugin_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc
index 444e0a7f0a..cad8ce9354 100644
--- a/gtk2_ardour/plugin_ui.cc
+++ b/gtk2_ardour/plugin_ui.cc
@@ -309,7 +309,7 @@ PluginLoadStatsGui::draw_bar (GdkEventExpose* ev)
cairo_stroke (cr);
if (xd1 - xd0 > 2) {
- const double ym = .5 + floor (y0 + h / 2);
+ const double ym = .5 + floor ((double)(y0 + h / 2));
const int h4 = h / 4;
cairo_set_line_width (cr, 1);