summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-01-13 15:11:14 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-13 15:12:34 +0100
commit2d526a9ffbad7effaabb70f4e52904c09d0ab22b (patch)
treefccd197db38fbb15988be7ad5061af23fb2dda1c /sal/rtl
parentba3dd2fe5e74337c538205e5be0daf399ee51943 (diff)
sal: as always C++ is too stupid to deduce parameter types of min
Change-Id: Ib00f29a6024e22c65a30bf4a45332e550994f03f
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.