*: use nullptr instead of NULL

This commit is contained in:
Max Kellermann
2013-10-28 23:58:17 +01:00
parent 4728735acf
commit 20597b3632
47 changed files with 250 additions and 249 deletions

View File

@@ -25,8 +25,8 @@ void *
PcmBuffer::Get(size_t new_size)
{
if (new_size == 0)
/* never return NULL, because NULL would be assumed to
be an error condition */
/* never return nullptr, because nullptr would be
assumed to be an error condition */
new_size = 1;
return buffer.Get(new_size);