diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 9af5d214c..c6a2d9805 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -18082,7 +18082,7 @@ class serializer return; } - if (pretty_print(val, current_indent)) + if (pretty_print(val, static_cast(current_indent))) { o->write_characters("{\n", 2); @@ -18155,7 +18155,7 @@ class serializer return; } - if (pretty_print(val, current_indent)) + if (pretty_print(val, static_cast(current_indent))) { o->write_characters("[\n", 2); @@ -18217,7 +18217,7 @@ class serializer case value_t::binary: { - if (pretty_print(val, current_indent)) + if (pretty_print(val, static_cast(current_indent))) { o->write_characters("{\n", 2);