summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:47 +0200
commita74aa43afb2accad7fc149282706b721f6b0f4eb (patch)
treeefd9d621de7e9bde550f71d750d28cb6b18048a2 /store
parentb3105952fbb04f51d8f1c310f0055219b94f2ee9 (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: Ie38450a082dc840714051ad65c297886038e68f3
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)