From 3d239bb9d59f555d08fd9362e9ce50de1255c633 Mon Sep 17 00:00:00 2001 From: Sakari Bergen Date: Mon, 29 Dec 2008 19:50:19 +0000 Subject: Fix some compiling warnings and errors in OS X git-svn-id: svn://localhost/ardour2/branches/3.0@4358 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/plugin_eq_gui.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/plugin_eq_gui.cc') diff --git a/gtk2_ardour/plugin_eq_gui.cc b/gtk2_ardour/plugin_eq_gui.cc index 34b7788819..a7e6b4261c 100644 --- a/gtk2_ardour/plugin_eq_gui.cc +++ b/gtk2_ardour/plugin_eq_gui.cc @@ -31,7 +31,7 @@ #include #include - +#include PluginEqGui::PluginEqGui(boost::shared_ptr pluginInsert) : _min_dB(-12.0), @@ -683,13 +683,13 @@ PluginEqGui::plot_signal_amplitude_difference(Gtk::Widget *w, cairo_t *cr) } */ - if (isinf(power)) { + if (std::isinf(power)) { if (power < 0) { power = _min_dB - 1.0; } else { power = _max_dB - 1.0; } - } else if (isnan(power)) { + } else if (std::isnan(power)) { power = _min_dB - 1.0; } -- cgit v1.2.3