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
This commit is contained in:
Oscar Fuentes
2011-03-01 23:11:57 +00:00
parent 0478c15d1e
commit 9bf9aa5106
3 changed files with 5 additions and 3 deletions

View File

@@ -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)));
}