summaryrefslogtreecommitdiff
path: root/rsc/source/res/rscarray.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/res/rscarray.cxx')
-rw-r--r--rsc/source/res/rscarray.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/res/rscarray.cxx b/rsc/source/res/rscarray.cxx
index 3e7c70a9b63c..4db3fb2c8dbb 100644
--- a/rsc/source/res/rscarray.cxx
+++ b/rsc/source/res/rscarray.cxx
@@ -94,7 +94,7 @@ RSCINST RscArray::Create( RSCINST * pInst, const RSCINST & rDflt,
if( !pInst )
{
aInst.pClass = this;
- aInst.pData = (CLASS_DATA) rtl_allocateMemory( Size() );
+ aInst.pData = static_cast<CLASS_DATA>(rtl_allocateMemory( Size() ));
}
else
aInst = *pInst;