From 59f8144c50765189594d5932fc25869f9ea6e265 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:19:03 +0200 Subject: *: use nullptr instead of NULL --- src/MusicChunk.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/MusicChunk.cxx') 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; -- cgit v1.2.3