💄 cleanup

parent 967f9144
...@@ -857,7 +857,7 @@ $ make json_unit -Ctest ...@@ -857,7 +857,7 @@ $ make json_unit -Ctest
$ ./test/json_unit "*"" $ ./test/json_unit "*""
=============================================================================== ===============================================================================
All tests passed (11202588 assertions in 47 test cases) All tests passed (11202596 assertions in 47 test cases)
``` ```
Alternatively, you can use [CMake](https://cmake.org) and run Alternatively, you can use [CMake](https://cmake.org) and run
......
...@@ -8315,7 +8315,7 @@ class basic_json ...@@ -8315,7 +8315,7 @@ class basic_json
// negative value indicates an error // negative value indicates an error
assert(written_bytes > 0); assert(written_bytes > 0);
// check if buffer was large enough // check if buffer was large enough
assert(written_bytes < m_buf.size()); assert(static_cast<size_t>(written_bytes) < m_buf.size());
// read information from locale // read information from locale
const auto loc = localeconv(); const auto loc = localeconv();
......
...@@ -8315,7 +8315,7 @@ class basic_json ...@@ -8315,7 +8315,7 @@ class basic_json
// negative value indicates an error // negative value indicates an error
assert(written_bytes > 0); assert(written_bytes > 0);
// check if buffer was large enough // check if buffer was large enough
assert(written_bytes < m_buf.size()); assert(static_cast<size_t>(written_bytes) < m_buf.size());
// read information from locale // read information from locale
const auto loc = localeconv(); const auto loc = localeconv();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment