diff --git a/test/src/unit-large_json.cpp b/test/src/unit-large_json.cpp index cf2f892a5..3ed8d7aca 100644 --- a/test/src/unit-large_json.cpp +++ b/test/src/unit-large_json.cpp @@ -40,7 +40,7 @@ TEST_CASE("tests on very large JSONs") { const auto depth = 5000000; - std::string s(2 * depth, '['); + std::string s(static_cast(2 * depth), '['); std::fill(s.begin() + depth, s.end(), ']'); json _;