From 7489d5d01e79acc2b71a1a3ec4dbc9dbcc00c8a0 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 13 Aug 2018 20:09:50 +0200 Subject: [PATCH] Fixed warnings --- test/ext/ext_matrix_relational.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/ext/ext_matrix_relational.cpp b/test/ext/ext_matrix_relational.cpp index a6887369..dfb95435 100644 --- a/test/ext/ext_matrix_relational.cpp +++ b/test/ext/ext_matrix_relational.cpp @@ -29,9 +29,9 @@ static int test_equal() { typedef typename matType::value_type valType; - valType const Epsilon(0.001f); - valType const One(1); - valType const Two(2); + valType const Epsilon = static_cast(0.001f); + valType const One = static_cast(1); + valType const Two = static_cast(2); int Error = 0; @@ -46,9 +46,9 @@ static int test_notEqual() { typedef typename matType::value_type valType; - valType const Epsilon(0.001f); - valType const One(1); - valType const Two(2); + valType const Epsilon = static_cast(0.001f); + valType const One = static_cast(1); + valType const Two = static_cast(2); int Error = 0;