Changes in directory llvm/include/llvm/Assembly:
PrintModulePass.h updated: 1.18 -> 1.19 --- Log message: Replace an old C-style cast with a C++ cast (squelch warning) --- Diffs of the changes: (+1 -1) PrintModulePass.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Assembly/PrintModulePass.h diff -u llvm/include/llvm/Assembly/PrintModulePass.h:1.18 llvm/include/llvm/Assembly/PrintModulePass.h:1.19 --- llvm/include/llvm/Assembly/PrintModulePass.h:1.18 Thu Apr 21 15:19:05 2005 +++ llvm/include/llvm/Assembly/PrintModulePass.h Sun May 28 21:32:43 2006 @@ -66,7 +66,7 @@ // it's processed. // bool runOnFunction(Function &F) { - (*Out) << Banner << (Value&)F; + (*Out) << Banner << static_cast<Value&>(F); return false; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits