*: use nullptr instead of NULL

This commit is contained in:
Max Kellermann
2020-02-01 13:49:19 +01:00
parent 4c52001a35
commit 4f22f4d357
17 changed files with 32 additions and 32 deletions

View File

@@ -28,7 +28,7 @@ FormatStringV(const char *fmt, va_list args) noexcept
{
va_list tmp;
va_copy(tmp, args);
const int length = vsnprintf(NULL, 0, fmt, tmp);
const int length = vsnprintf(nullptr, 0, fmt, tmp);
va_end(tmp);
if (length <= 0)