commit | 9bf9aa5106eb663a371b2b0bc7ab929500ad6ff9 | [log] [tgz] |
---|---|---|
author | Oscar Fuentes <ofv@wanadoo.es> | Tue Mar 01 23:11:57 2011 +0000 |
committer | Oscar Fuentes <ofv@wanadoo.es> | Tue Mar 01 23:11:57 2011 +0000 |
tree | b5363e683e19c72b50582f092707d3ae203c7b8c | |
parent | 0478c15d1ecdbc53cf106419629479bcb2a0f4af [diff] [blame] |
Fixes warnings emitted by Visual Studio 2010 compiler. Patch by Erik Olofsson! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126796 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/Support/MathExtrasTest.cpp b/unittests/Support/MathExtrasTest.cpp index 3db1f77..0a6724c 100644 --- a/unittests/Support/MathExtrasTest.cpp +++ b/unittests/Support/MathExtrasTest.cpp
@@ -73,7 +73,7 @@ } TEST(MathExtras, FloatBits) { - static const float kValue = 5632.34; + static const float kValue = 5632.34f; EXPECT_FLOAT_EQ(kValue, BitsToFloat(FloatToBits(kValue))); }