🏁 adding parentheses around std::snprintf calls #1337

This commit is contained in:
Niels Lohmann committed 2018-11-09 21:18:02 +01:00
1 parent f80efd3954
commit da81e7be22
4 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -1360,7 +1360,7 @@ scan_number_done:
{
// escape control characters
char cs[9];
snprintf(cs, 9, "<U+%.4X>", static_cast<unsigned char>(c));
(std::snprintf)(cs, 9, "<U+%.4X>", static_cast<unsigned char>(c));
result += cs;
}
else