These two casts are up casts, no need to use dynamic_cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117725 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectImage.cpp b/source/Commands/CommandObjectImage.cpp
index 53db6df..6a1037a 100644
--- a/source/Commands/CommandObjectImage.cpp
+++ b/source/Commands/CommandObjectImage.cpp
@@ -82,7 +82,7 @@
if (i > 0)
strm << "\n\n";
- strm << "Line table for " << *dynamic_cast<FileSpec*> (sc.comp_unit) << " in `"
+ strm << "Line table for " << *static_cast<FileSpec*> (sc.comp_unit) << " in `"
<< module->GetFileSpec().GetFilename() << "\n";
LineTable *line_table = sc.comp_unit->GetLineTable();
if (line_table)