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 0bfa2200fcf1..3f9bb9d7fafa 100644
--- a/store/source/storcach.cxx
+++ b/store/source/storcach.cxx
@@ -329,7 +329,7 @@ PageCache_Impl::~PageCache_Impl()
void PageCache_Impl::rescale_Impl (sal_Size new_size)
{
sal_Size new_bytes = new_size * sizeof(Entry*);
- Entry ** new_table = (Entry**)(rtl_allocateMemory(new_bytes));
+ Entry ** new_table = static_cast<Entry**>(rtl_allocateMemory(new_bytes));
if (new_table != 0)
{