From 3ccc7b46547b6ff56a4397e70f99bf17475eda48 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 29 May 2006 02:32:43 +0000 Subject: [PATCH] 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 --- include/llvm/Assembly/PrintModulePass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1