summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
Diffstat (limited to 'store')
-rw-r--r--store/source/lockbyte.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx
index da6170cfe7d0..25d481f11f10 100644
--- a/store/source/lockbyte.cxx
+++ b/store/source/lockbyte.cxx
@@ -766,7 +766,7 @@ storeError MemoryLockBytes::setSize_Impl (sal_uInt32 nSize)
{
if (nSize != m_nSize)
{
- sal_uInt8 * pData = reinterpret_cast<sal_uInt8*>(rtl_reallocateMemory (m_pData, nSize));
+ sal_uInt8 * pData = static_cast<sal_uInt8*>(rtl_reallocateMemory (m_pData, nSize));
if (pData != 0)
{
if (nSize > m_nSize)