diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-03-01 23:11:57 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-03-01 23:11:57 +0000 |
commit | 98a3c80a3ebdca2379fab4ae225512bb1d20a3bd (patch) | |
tree | b8019ed86b30a2ebe30b5c2954f9ac1423a33e8f /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 3bc2dedb403f23e38f4ab765fe2b78bd101f041d (diff) | |
download | bcm5719-llvm-98a3c80a3ebdca2379fab4ae225512bb1d20a3bd.tar.gz bcm5719-llvm-98a3c80a3ebdca2379fab4ae225512bb1d20a3bd.zip |
Fixes warnings emitted by Visual Studio 2010 compiler.
Patch by Erik Olofsson!
llvm-svn: 126796
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
-rw-r--r-- | llvm/unittests/Support/MathExtrasTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/MathExtrasTest.cpp b/llvm/unittests/Support/MathExtrasTest.cpp index 3db1f77d444..0a6724c7e70 100644 --- a/llvm/unittests/Support/MathExtrasTest.cpp +++ b/llvm/unittests/Support/MathExtrasTest.cpp @@ -73,7 +73,7 @@ TEST(MathExtras, CountLeadingOnes_64) { } TEST(MathExtras, FloatBits) { - static const float kValue = 5632.34; + static const float kValue = 5632.34f; EXPECT_FLOAT_EQ(kValue, BitsToFloat(FloatToBits(kValue))); } |