🚨 fixing a MinGW warning #1192
This commit is contained in:
parent
fed70f6bff
commit
be2065dce9
2 changed files with 2 additions and 2 deletions
|
@ -1173,7 +1173,7 @@ scan_number_done:
|
|||
{
|
||||
// escape control characters
|
||||
char cs[9];
|
||||
snprintf(cs, 9, "<U+%.4hhX>", static_cast<unsigned char>(c));
|
||||
snprintf(cs, 9, "<U+%.4X>", static_cast<unsigned char>(c));
|
||||
result += cs;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -3370,7 +3370,7 @@ scan_number_done:
|
|||
{
|
||||
// escape control characters
|
||||
char cs[9];
|
||||
snprintf(cs, 9, "<U+%.4hhX>", static_cast<unsigned char>(c));
|
||||
snprintf(cs, 9, "<U+%.4X>", static_cast<unsigned char>(c));
|
||||
result += cs;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue