From b3d3f12da7cdb8a7230d30ba1afdabd2b2eb2cc4 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 12 Aug 2018 23:48:43 +0200 Subject: [PATCH] Fixed warnings --- test/ext/ext_vector_relational.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/ext/ext_vector_relational.cpp b/test/ext/ext_vector_relational.cpp index ecafc165..e6c37bed 100644 --- a/test/ext/ext_vector_relational.cpp +++ b/test/ext/ext_vector_relational.cpp @@ -23,8 +23,8 @@ static int test_equal() valType const A = static_cast(1.01f); valType const B = static_cast(1.02f); - valType const Epsilon1(0.1f); - valType const Epsilon2(0.001f); + valType const Epsilon1 = static_cast(0.1f); + valType const Epsilon2 = static_cast(0.001f); int Error = 0; @@ -44,8 +44,8 @@ static int test_notEqual() valType const A = static_cast(1.01f); valType const B = static_cast(1.02f); - valType const Epsilon1(0.1f); - valType const Epsilon2(0.001f); + valType const Epsilon1 = static_cast(0.1f); + valType const Epsilon2 = static_cast(0.001f); int Error = 0;