diff --git a/extras/tests/JsonVariant/set.cpp b/extras/tests/JsonVariant/set.cpp index 04ffeddc..ab94dea9 100644 --- a/extras/tests/JsonVariant/set.cpp +++ b/extras/tests/JsonVariant/set.cpp @@ -378,7 +378,7 @@ TEST_CASE("JsonVariant::set() releases the previous value") { } SECTION("float") { - v.set(1.2); + v.set(1.2f); REQUIRE(spy.log() == AllocatorLog{ Deallocate(sizeofString("world")), });