🚨 fixing a MinGW warning #1192

parent fed70f6b
......@@ -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
......
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