From 15e017500766ee52364740736b9921fdd8207108 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Mon, 1 Dec 2014 23:35:57 +0100 Subject: [PATCH] fix compiler warning. Signed-off-by: Kim Kulling --- test/unit/utFastAtof.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/utFastAtof.cpp b/test/unit/utFastAtof.cpp index f32478b55..4dfbe0d6a 100644 --- a/test/unit/utFastAtof.cpp +++ b/test/unit/utFastAtof.cpp @@ -22,7 +22,7 @@ protected: template static void RunTest(AtofFunc atof_func) { - const Real kEps = 1e-5; + const Real kEps = 1e-5f; #define TEST_CASE(NUM) EXPECT_NEAR(static_cast(NUM), atof_func(#NUM), kEps) #define TEST_CASE_NAN(NUM) EXPECT_TRUE(IsNan(atof_func(#NUM)))