🚨 fixing a MinGW warning #1192

This commit is contained in:
Niels Lohmann committed 2018-08-14 22:11:47 +02:00
1 parent fed70f6bff
commit be2065dce9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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