From 3493a0addc69523c353ebefc093dc700ca811f17 Mon Sep 17 00:00:00 2001 From: Menci Date: Mon, 24 Jan 2022 17:11:33 +0800 Subject: [PATCH] Fix aarch64 build --- adls/include/json.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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{{}};