summaryrefslogtreecommitdiff
path: root/src/MusicChunk.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-19 18:19:03 +0200
committerMax Kellermann <max@duempel.org>2013-10-19 18:19:03 +0200
commit59f8144c50765189594d5932fc25869f9ea6e265 (patch)
treef460d9f46a99040dea402bcb3ad2d84a0e734285 /src/MusicChunk.cxx
parent5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff)
*: use nullptr instead of NULL
Diffstat (limited to 'src/MusicChunk.cxx')
-rw-r--r--src/MusicChunk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MusicChunk.cxx b/src/MusicChunk.cxx
index 9ffe4f509..1d6081a9e 100644
--- a/src/MusicChunk.cxx
+++ b/src/MusicChunk.cxx
@@ -58,7 +58,7 @@ music_chunk::Write(const AudioFormat af,
const size_t frame_size = af.GetFrameSize();
size_t num_frames = (sizeof(data) - length) / frame_size;
if (num_frames == 0)
- return NULL;
+ return nullptr;
#ifndef NDEBUG
audio_format = af;