From bd5b912dccbdd9708c8efe809af4bfbf31328288 Mon Sep 17 00:00:00 2001
From: Aaron Ballman <aaron@aaronballman.com>
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')

diff --git a/unittests/IR/IRBuilderTest.cpp b/unittests/IR/IRBuilderTest.cpp
index d79ff62..c01d49c 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.1