summaryrefslogtreecommitdiff
path: root/rsc/source/res/rscflag.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/res/rscflag.cxx')
-rw-r--r--rsc/source/res/rscflag.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/res/rscflag.cxx b/rsc/source/res/rscflag.cxx
index d78a6df8bcd6..d0f1573e1b3a 100644
--- a/rsc/source/res/rscflag.cxx
+++ b/rsc/source/res/rscflag.cxx
@@ -76,7 +76,7 @@ RSCINST RscFlag::CreateBasic( RSCINST * pInst )
if( !pInst )
{
aInst.pClass = this;
- aInst.pData = (CLASS_DATA) rtl_allocateMemory( Size() );
+ aInst.pData = static_cast<CLASS_DATA>(rtl_allocateMemory( Size() ));
}
else
aInst = *pInst;