From bd5b912dccbdd9708c8efe809af4bfbf31328288 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Sat, 5 Oct 2013 19:41:41 +0000 Subject: Silencing an MSVC warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192042 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/IR/IRBuilderTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unittests/IR/IRBuilderTest.cpp') diff --git a/unittests/IR/IRBuilderTest.cpp b/unittests/IR/IRBuilderTest.cpp index d79ff62b19..c01d49c8e0 100644 --- a/unittests/IR/IRBuilderTest.cpp +++ b/unittests/IR/IRBuilderTest.cpp @@ -187,8 +187,8 @@ TEST_F(IRBuilderTest, RAIIHelpersTest) { EXPECT_FALSE(Builder.getFastMathFlags().allowReciprocal()); MDBuilder MDB(M->getContext()); - MDNode *FPMathA = MDB.createFPMath(0.01); - MDNode *FPMathB = MDB.createFPMath(0.1); + MDNode *FPMathA = MDB.createFPMath(0.01f); + MDNode *FPMathB = MDB.createFPMath(0.1f); Builder.SetDefaultFPMathTag(FPMathA); -- cgit v1.2.3