From 3143e44faa2f049a25ba35edd678f33f71f0e567 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 23 Feb 2004 09:03:41 +0000 Subject: [PATCH] Use floor() insstead of floorf() --- src/Cockpit/panel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }