diff options
author | Max Kellermann <max@duempel.org> | 2013-10-28 23:58:17 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-28 23:58:17 +0100 |
commit | 20597b3632d3b6e25ba532716106f90d5b64d0e8 (patch) | |
tree | fa6dabaff127150caf3cf4723257f15ef2c3e0f8 /src/pcm/PcmExport.cxx | |
parent | 4728735acf20fba24d0d03ab431160e250325869 (diff) | |
download | mpd-20597b3632d3b6e25ba532716106f90d5b64d0e8.tar.gz mpd-20597b3632d3b6e25ba532716106f90d5b64d0e8.tar.xz mpd-20597b3632d3b6e25ba532716106f90d5b64d0e8.zip |
*: use nullptr instead of NULL
Diffstat (limited to '')
-rw-r--r-- | src/pcm/PcmExport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm/PcmExport.cxx b/src/pcm/PcmExport.cxx index 74b642569..f6ce1e661 100644 --- a/src/pcm/PcmExport.cxx +++ b/src/pcm/PcmExport.cxx @@ -87,7 +87,7 @@ PcmExport::Export(const void *data, size_t size, size_t &dest_size_r) const uint8_t *src8 = (const uint8_t *)data; const uint8_t *src_end8 = src8 + size; uint8_t *dest = (uint8_t *)pack_buffer.Get(dest_size); - assert(dest != NULL); + assert(dest != nullptr); pcm_pack_24(dest, (const int32_t *)src8, (const int32_t *)src_end8); @@ -114,7 +114,7 @@ PcmExport::Export(const void *data, size_t size, size_t &dest_size_r) assert(reverse_endian >= 2); uint8_t *dest = (uint8_t *)reverse_buffer.Get(size); - assert(dest != NULL); + assert(dest != nullptr); const uint8_t *src = (const uint8_t *)data; const uint8_t *src_end = src + size; |