diff options
Diffstat (limited to 'polyp/module-pipe-sink.c')
-rw-r--r-- | polyp/module-pipe-sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/module-pipe-sink.c b/polyp/module-pipe-sink.c index 22d9f6768..32a2c722b 100644 --- a/polyp/module-pipe-sink.c +++ b/polyp/module-pipe-sink.c @@ -82,7 +82,7 @@ static void do_write(struct userdata *u) { assert(u->memchunk.memblock && u->memchunk.length); - if ((r = pa_iochannel_write(u->io, u->memchunk.memblock->data + u->memchunk.index, u->memchunk.length)) < 0) { + if ((r = pa_iochannel_write(u->io, (uint8_t*) u->memchunk.memblock->data + u->memchunk.index, u->memchunk.length)) < 0) { fprintf(stderr, "write() failed: %s\n", strerror(errno)); return; } |