diff --git a/lldb/source/Breakpoint/BreakpointLocation.cpp b/lldb/source/Breakpoint/BreakpointLocation.cpp index 609a41ef43f8..525efd36ea16 100644 --- a/lldb/source/Breakpoint/BreakpointLocation.cpp +++ b/lldb/source/Breakpoint/BreakpointLocation.cpp @@ -352,7 +352,7 @@ BreakpointLocation::GetDescription (Stream *s, lldb::DescriptionLevel level) { s->EOL(); s->Indent("compile unit = "); - dynamic_cast(sc.comp_unit)->GetFilename().Dump (s); + static_cast(sc.comp_unit)->GetFilename().Dump (s); if (sc.function != NULL) {