From de741d2fc8072e354c173bd0014e6bf591f98907 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Wed, 15 Aug 2018 14:17:18 +0100 Subject: Keep MSVC happy by specifying which version of 'floor()' we want (gtk2_ardour) --- gtk2_ardour/plugin_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3