summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/math.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx
index 45d07b78fc60..f3822671522d 100644
--- a/sal/rtl/math.cxx
+++ b/sal/rtl/math.cxx
@@ -221,7 +221,7 @@ inline void doubleToString(StringT ** pResult,
if (nDecPlaces == rtl_math_DecimalPlaces_Max || bEraseTrailingDecZeros)
nDecPlaces = 0;
else
- nDecPlaces = ::std::min( nDecPlaces, 15);
+ nDecPlaces = ::std::min<sal_Int32>(nDecPlaces, 15);
// Max 1 sign, 16 integer digits, 15 group separators, 1 decimal
// separator, 15 decimals digits.