diff options
Diffstat (limited to 'src/tooltip.cpp')
-rw-r--r-- | src/tooltip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tooltip.cpp b/src/tooltip.cpp index 91da583..2c6f6e1 100644 --- a/src/tooltip.cpp +++ b/src/tooltip.cpp @@ -114,7 +114,7 @@ void TooltipManager::writeTooltips(CodeOutputInterface &ol) QCString decl; if (d->definitionType()==Definition::TypeMember) { - MemberDef *md = (MemberDef*)d; + MemberDef *md = dynamic_cast<MemberDef*>(d); decl = md->declaration(); if (!decl.isEmpty() && decl.at(0)=='@') // hide enum values { |