summaryrefslogtreecommitdiff
path: root/3rdparty
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-06-03 20:20:30 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-06-03 20:20:30 -0500
commit41bcd8b5147acf869cd78c1f283800a26eb861f2 (patch)
tree3fcfd36b30463cdc773db3407e624d82ace2d3a5 /3rdparty
parent4f8a406b0a6bb3669e63dce5074fdd9b15be3d9b (diff)
downloadhorizon-current.tar.gz
horizon-current.tar.bz2
horizon-current.tar.xz
horizon-current.zip
JSON: Fix error on GCC 10+HEADcurrent
See-also: https://github.com/nlohmann/json/pull/2144
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{{}};