Keep MSVC happy by specifying which version of 'floor()' we want (gtk2_ardour)

This commit is contained in:
John Emmas
2018-08-15 14:17:18 +01:00
parent 9174858355
commit de741d2fc8

View File

@@ -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);