diff options
author | John Emmas <johne53@tiscali.co.uk> | 2018-08-15 14:17:18 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2018-08-15 14:17:18 +0100 |
commit | de741d2fc8072e354c173bd0014e6bf591f98907 (patch) | |
tree | ef6d4b9f2e5a67615e3886b3325428b2ed183ae5 | |
parent | 9174858355b3ffff4173a3c6b9b58bfd45b0ca3c (diff) |
Keep MSVC happy by specifying which version of 'floor()' we want (gtk2_ardour)
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 2 |
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); |