From 380c39c91ed1b6841e37e9bc626d6b8de86eaf5a Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 17 Oct 2021 15:19:59 +0200 Subject: [PATCH] :rotating_light: fix warning --- test/src/unit-large_json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 _;