13
0

Add cast for mingw compiler

This commit is contained in:
Paul Davis 2013-07-11 14:23:20 -04:00
parent 742753a996
commit 4d71933f5b

View File

@ -269,7 +269,7 @@ PeakMeter::meter ()
} else { } else {
// do falloff // do falloff
new_peak = _visible_peak_power[n] - (Config->get_meter_falloff() * 0.01f); new_peak = _visible_peak_power[n] - (Config->get_meter_falloff() * 0.01f);
_visible_peak_power[n] = std::max (new_peak, -INFINITY); _visible_peak_power[n] = std::max (new_peak, (float)-INFINITY);
} }
} }
} }