summaryrefslogtreecommitdiff
path: root/idlc/source/aststruct.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/aststruct.cxx')
-rw-r--r--idlc/source/aststruct.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/aststruct.cxx b/idlc/source/aststruct.cxx
index abc4bfed843b..7c42d1692ad0 100644
--- a/idlc/source/aststruct.cxx
+++ b/idlc/source/aststruct.cxx
@@ -131,7 +131,7 @@ bool AstStruct::dump(RegistryKey& rKey)
pDecl = *iter;
if ( pDecl->getNodeType() == NT_member )
{
- pMember = (AstMember*)pDecl;
+ pMember = static_cast<AstMember*>(pDecl);
RTFieldAccess flags = RT_ACCESS_READWRITE;
OString typeName;
if (pMember->getType()->getNodeType() == NT_type_parameter) {