diff options
Diffstat (limited to 'store/source/stortree.cxx')
-rw-r--r-- | store/source/stortree.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/store/source/stortree.cxx b/store/source/stortree.cxx index 8733e9bf12bf..e4b577393373 100644 --- a/store/source/stortree.cxx +++ b/store/source/stortree.cxx @@ -72,14 +72,14 @@ sal_uInt16 OStoreBTreeNodeData::find (const T& t) const sal_Int32 const m = ((l + r) >> 1); if (t.m_aKey == m_pData[m].m_aKey) - return (sal_uInt16)m; + return static_cast<sal_uInt16>(m); if (t.m_aKey < m_pData[m].m_aKey) r = m - 1; else l = m + 1; } - sal_uInt16 const k = (sal_uInt16)r; + sal_uInt16 const k = static_cast<sal_uInt16>(r); if ((k < capacityCount()) && (t.m_aKey < m_pData[k].m_aKey)) return k - 1; else |