summaryrefslogtreecommitdiffstats
path: root/sal/rtl/hash.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/rtl/hash.cxx')
-rw-r--r--sal/rtl/hash.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/hash.cxx b/sal/rtl/hash.cxx
index dd5db5c34739..0dc36a4cffff 100644
--- a/sal/rtl/hash.cxx
+++ b/sal/rtl/hash.cxx
@@ -67,8 +67,8 @@ static sal_uInt32 getNextSize(sal_uInt32 nSize)
static sal_uInt32 hashString(rtl_uString *pString)
{
- return (sal_uInt32) rtl_ustr_hashCode_WithLength(pString->buffer,
- pString->length);
+ return static_cast<sal_uInt32>(rtl_ustr_hashCode_WithLength(pString->buffer,
+ pString->length));
}
static StringHashTable * rtl_str_hash_new(sal_uInt32 nSize)