summaryrefslogtreecommitdiff
path: root/3rdparty
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/json.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/json.hpp b/3rdparty/json.hpp
index 06da815..58e3f27 100644
--- a/3rdparty/json.hpp
+++ b/3rdparty/json.hpp
@@ -8491,7 +8491,7 @@ scan_number_done:
std::string result;
for (const auto c : token_string)
{
- if ('\x00' <= c and c <= '\x1F')
+ if (static_cast<unsigned char>(c) <= '\x1F')
{
// escape control characters
std::array<char, 9> cs{{}};