aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Analysis/IPA/FindUnsafePointerTypes.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
index 67ab52d8a8..98cbe7812b 100644
--- a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
+++ b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
@@ -98,7 +98,8 @@ void FindUnsafePointerTypes::print(std::ostream &o, const Module *M) const {
for (std::set<PointerType*>::const_iterator I = getUnsafeTypes().begin(),
E = getUnsafeTypes().end(); I != E; ++I, ++Counter) {
- CW << " #" << Counter << ". " << (Value*)*I << "\n";
+ o << " #" << Counter << ". ";
+ CW << (Value*)*I << "\n";
}
}