From f810ce74f3a1922485730d171fb5aa5e630b6fe7 Mon Sep 17 00:00:00 2001 From: Roelf-Jilling Date: Wed, 14 Nov 2018 22:30:21 +0100 Subject: [PATCH] Fix clang warning -Wdouble-promotion (#741) --- tests/notnull_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/notnull_tests.cpp b/tests/notnull_tests.cpp index 668c0a2..9e10ff4 100644 --- a/tests/notnull_tests.cpp +++ b/tests/notnull_tests.cpp @@ -193,7 +193,7 @@ TEST_CASE("TestNotNullostream") { ostream_helper(17); ostream_helper(21.5f); - ostream_helper(3.4566e-7f); + ostream_helper(3.4566e-7); ostream_helper('c'); ostream_helper(0x0123u); ostream_helper("cstring");