From: ehofman Date: Mon, 23 Feb 2004 09:03:41 +0000 (+0000) Subject: Use floor() insstead of floorf() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3143e44faa2f049a25ba35edd678f33f71f0e567;p=flightgear.git Use floor() insstead of floorf() --- diff --git a/src/Cockpit/panel.cxx b/src/Cockpit/panel.cxx index 871ca97f3..ad4465878 100644 --- a/src/Cockpit/panel.cxx +++ b/src/Cockpit/panel.cxx @@ -1118,7 +1118,7 @@ FGTextLayer::Chunk::getValue () const break; case DOUBLE_VALUE: double d = _offs + _node->getFloatValue() * _mult; - if (_trunc) d = (d < 0) ? -floorf(-d) : floorf(d); + if (_trunc) d = (d < 0) ? -floor(-d) : floor(d); sprintf(_buf, _fmt.c_str(), d); break; }