diff --git a/adls/include/json.hpp b/adls/include/json.hpp index 06da815..f06ed58 100644 --- a/adls/include/json.hpp +++ b/adls/include/json.hpp @@ -8491,7 +8491,8 @@ class lexer std::string result; for (const auto c : token_string) { - if ('\x00' <= c and c <= '\x1F') + signed char sc = static_cast(c); + if ('\x00' <= sc and sc <= '\x1F') { // escape control characters std::array cs{{}};