diff options
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 198a42aa2639..7fee117a9a5f 100644 --- a/tools/source/generic/fract.cxx +++ b/tools/source/generic/fract.cxx @@ -136,7 +136,7 @@ Fraction::Fraction( double dVal ) return; } - while ( std::abs( (long)dVal ) < nMAX && nDen < nMAX ) + while ( std::abs( dVal ) < nMAX && nDen < nMAX ) { dVal *= 10; nDen *= 10; |