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