another try to remove a warning

This commit is contained in:
Niels 2016-05-08 17:17:17 +02:00
parent ac3036dc0f
commit 6d8e00ade8
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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