summaryrefslogtreecommitdiff
path: root/store/source/storcach.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/source/storcach.cxx')
-rw-r--r--store/source/storcach.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx
index 072679cd0e0f..1b7243d56bd4 100644
--- a/store/source/storcach.cxx
+++ b/store/source/storcach.cxx
@@ -244,7 +244,7 @@ class PageCache_Impl :
static inline int hash_Impl(sal_uInt32 a, size_t s, size_t q, size_t m)
{
- return ((((a) + ((a) >> (s)) + ((a) >> ((s) << 1))) >> (q)) & (m));
+ return static_cast<int>((((a) + ((a) >> (s)) + ((a) >> ((s) << 1))) >> (q)) & (m));
}
inline int hash_index_Impl (sal_uInt32 nOffset)
{