summaryrefslogtreecommitdiff
path: root/store/source/storcach.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-08-16 16:32:13 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-08-21 22:29:39 +0200
commiteb4cbea657b9038c488f1b1bcf5107cc226a6681 (patch)
treefd0c7fd9ca41ad9b6b44e25ca1e79260ce3cdde0 /store/source/storcach.cxx
parent4215bca95511af8e4ee96e3c8f521b35f638aef3 (diff)
Silence some conversion warnings
Change-Id: I676ed010576f3a24b193ffc6c28a319bcc5ac968
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)
{