🚨 fixed more compiler warnings

This commit is contained in:
Niels Lohmann committed 2018-06-23 10:47:55 +02:00
1 parent 850922269d
commit 66dd1a846d
5 files changed
+8 -12

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>", c);
snprintf(cs, 9, "<U+%.4hhX>", static_cast<unsigned char>(c));
result += cs;
}
else