X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=osx_write.c;h=4bdb0ceb9e1ec5c31ac1ea93e64bc2456633f74b;hb=faeabd31b4bea5c097acff4738a0626e3c84f1d9;hp=df10221feee218a8f8c5ebe012de724b9228b624;hpb=38c06a3642348f26e9c687825e6fa6ec8a75729c;p=paraslash.git diff --git a/osx_write.c b/osx_write.c index df10221f..4bdb0ceb 100644 --- a/osx_write.c +++ b/osx_write.c @@ -279,7 +279,7 @@ static int osx_write_post_select(__a_unused struct sched *s, { struct private_osx_write_data *powd = wn->private_data; struct writer_node_group *wng = wn->wng; - short *data = (short*)wng->buf; + short *data = (short*)*wng->bufp; if (!need_new_buffer(wn)) return 1;