diff options
author | Noel Power <noel.power@suse.com> | 2013-04-30 14:07:51 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-04-30 14:07:51 +0100 |
commit | 38d7278e38b8c6d6e332814b5c626ab182d41d31 (patch) | |
tree | 7080ec9160002b74c606586e9e53350249b16521 /tools/source | |
parent | Explicit copy ctor avoiding copying singular iterators (diff) | |
download | core-38d7278e38b8c6d6e332814b5c626ab182d41d31.tar.gz core-38d7278e38b8c6d6e332814b5c626ab182d41d31.zip |
fix for fdo#64078
Change-Id: Ib8c70b0074485ccd8bf6095c070610fe90e22d4a
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/generic/fract.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx index 4f5ee96a4cd3..c99db66e126a 100644 --- a/tools/source/generic/fract.cxx +++ b/tools/source/generic/fract.cxx @@ -132,7 +132,7 @@ Fraction::Fraction( double dVal ) return; } - while ( abs( (long)dVal ) < nMAX && nDen < nMAX ) + while ( labs( (long)dVal ) < nMAX && nDen < nMAX ) { dVal *= 10; nDen *= 10; |