Skip to content

Commit 974c581

Browse files
authored
fix ARM build (#1083)
1 parent daf3748 commit 974c581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/include/public/VariantType.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ class Variant
396396
case '\r': o << "\\r"; break;
397397
case '\t': o << "\\t"; break;
398398
default:
399-
if ('\x00' <= *c && *c <= '\x1f') {
399+
if ('\x00' <= static_cast<signed char>(*c) && *c <= '\x1f') {
400400
o << "\\u"
401401
<< std::hex << std::setw(4) << std::setfill('0') << (int)*c;
402402
}

0 commit comments

Comments
 (0)