diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-05-29 02:32:43 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-05-29 02:32:43 +0000 |
commit | 3ccc7b46547b6ff56a4397e70f99bf17475eda48 (patch) | |
tree | 67d17fd6658c62b1d3dcd260f7615556777d94ad | |
parent | 7dbb2d6f160d69a0513afe48e7e5ad8861bb4ab2 (diff) |
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
-rw-r--r-- | include/llvm/Assembly/PrintModulePass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Assembly/PrintModulePass.h b/include/llvm/Assembly/PrintModulePass.h index fab59cbc18..2a576d4d51 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<Value&>(F); return false; } |