Commit 6d8e00ad authored by Niels's avatar Niels

another try to remove a warning

parent ac3036dc
......@@ -5967,7 +5967,7 @@ class basic_json
{
return (v < 10)
? ('0' + static_cast<char>(v))
: ('a' + static_cast<char>((v - 10) & 0xff));
: ('a' + static_cast<char>((v - 10) & 0x1f));
};
// print character c as \uxxxx
......
......@@ -5967,7 +5967,7 @@ class basic_json
{
return (v < 10)
? ('0' + static_cast<char>(v))
: ('a' + static_cast<char>((v - 10) & 0xff));
: ('a' + static_cast<char>((v - 10) & 0x1f));
};
// print character c as \uxxxx
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment