aboutsummaryrefslogtreecommitdiffstats
path: root/src/MusicPipe.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 10:16:16 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 10:16:16 +0100
commit22f0a1547c86895b4284b5fdc63ab9c82f24a442 (patch)
treec011204fc1e1a31745e004a3e25d7f9f24f1067e /src/MusicPipe.cxx
parentde0ab43bc12be345d85779e444266153ff5be007 (diff)
downloadmpd-22f0a1547c86895b4284b5fdc63ab9c82f24a442.tar.gz
mpd-22f0a1547c86895b4284b5fdc63ab9c82f24a442.tar.xz
mpd-22f0a1547c86895b4284b5fdc63ab9c82f24a442.zip
buffer, pipe: convert to C++
Diffstat (limited to '')
-rw-r--r--src/MusicPipe.cxx (renamed from src/pipe.c)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pipe.c b/src/MusicPipe.cxx
index d8131432f..d9fc07eca 100644
--- a/src/pipe.c
+++ b/src/MusicPipe.cxx
@@ -18,9 +18,9 @@
*/
#include "config.h"
-#include "pipe.h"
-#include "buffer.h"
-#include "chunk.h"
+#include "MusicPipe.hxx"
+#include "MusicBuffer.hxx"
+#include "MusicChunk.hxx"
#include <glib.h>
@@ -137,7 +137,7 @@ music_pipe_shift(struct music_pipe *mp)
#ifndef NDEBUG
/* poison the "next" reference */
- chunk->next = (void*)0x01010101;
+ chunk->next = (struct music_chunk *)(void *)0x01010101;
if (mp->size == 0)
audio_format_clear(&mp->audio_format);