diff --git a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp index 67ab52d8a8a..98cbe7812b1 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::const_iterator I = getUnsafeTypes().begin(), E = getUnsafeTypes().end(); I != E; ++I, ++Counter) { - CW << " #" << Counter << ". " << (Value*)*I << "\n"; + o << " #" << Counter << ". "; + CW << (Value*)*I << "\n"; } }