diff --git a/tests/SelfTest/UsageTests/Generators.tests.cpp b/tests/SelfTest/UsageTests/Generators.tests.cpp index 8e2c387a..38e32c4e 100644 --- a/tests/SelfTest/UsageTests/Generators.tests.cpp +++ b/tests/SelfTest/UsageTests/Generators.tests.cpp @@ -26,7 +26,7 @@ TEST_CASE("Generators -- simple", "[generators]") { SECTION("two") { // You can also explicitly set type for generators via Catch::Generators::as auto str = GENERATE(as{}, "a", "bb", "ccc"); - REQUIRE(4u * i > str.size()); + REQUIRE(4u * static_cast(i) > str.size()); } }