summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r--src/memberlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index 8d88863..418b24a 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -767,7 +767,7 @@ void MemberList::writeSimpleDocumentation(OutputList &ol,
ClassDef *cd = 0;
if (container && container->definitionType()==Definition::TypeClass)
{
- cd = (ClassDef*)container;
+ cd = dynamic_cast<ClassDef*>(container);
}
ol.startMemberDocSimple(cd && cd->isJavaEnum());
MemberListIterator mli(*this);