From: Reid Spencer Date: Mon, 29 May 2006 02:32:43 +0000 (+0000) Subject: Replace an old C-style cast with a C++ cast (squelch warning) X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3ccc7b46547b6ff56a4397e70f99bf17475eda48;p=oota-llvm.git Replace an old C-style cast with a C++ cast (squelch warning) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28533 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Assembly/PrintModulePass.h b/include/llvm/Assembly/PrintModulePass.h index fab59cbc188..2a576d4d512 100644 --- a/include/llvm/Assembly/PrintModulePass.h +++ b/include/llvm/Assembly/PrintModulePass.h @@ -66,7 +66,7 @@ public: // it's processed. // bool runOnFunction(Function &F) { - (*Out) << Banner << (Value&)F; + (*Out) << Banner << static_cast(F); return false; }