X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=osx_write.c;h=4bdb0ceb9e1ec5c31ac1ea93e64bc2456633f74b;hp=df10221feee218a8f8c5ebe012de724b9228b624;hb=d38eb22bbb5e89d70872a6ed07766f937af3ee47;hpb=38c06a3642348f26e9c687825e6fa6ec8a75729c 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;