summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-04-30 14:18:33 +0100
committerNoel Power <noel.power@suse.com>2013-04-30 14:18:33 +0100
commit1b14676b5f95dd51d6266a6ab7bd713a5ddcff2f (patch)
tree4b45ec969102fc1b9dc3dc41320ba66c9a175929 /tools/source
parent38d7278e38b8c6d6e332814b5c626ab182d41d31 (diff)
redo fix for fdo#64078
use std::abs instead of labs Change-Id: Icb09fb1715d4795c718773a37e66947d67019bb7
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/generic/fract.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx
index c99db66e126a..cad06a76e72f 100644
--- a/tools/source/generic/fract.cxx
+++ b/tools/source/generic/fract.cxx
@@ -132,7 +132,7 @@ Fraction::Fraction( double dVal )
return;
}
- while ( labs( (long)dVal ) < nMAX && nDen < nMAX )
+ while ( std::abs( (long)dVal ) < nMAX && nDen < nMAX )
{
dVal *= 10;
nDen *= 10;