X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=osx_write.c;h=4bdb0ceb9e1ec5c31ac1ea93e64bc2456633f74b;hp=f67a63ac1cae42eea3e7a4776e3b3353aadfedcb;hb=d38eb22bbb5e89d70872a6ed07766f937af3ee47;hpb=6bdac07456cb5872f824028912d1049883a9c21f diff --git a/osx_write.c b/osx_write.c index f67a63ac..4bdb0ceb 100644 --- a/osx_write.c +++ b/osx_write.c @@ -19,6 +19,7 @@ #include "string.h" #include "list.h" #include "sched.h" +#include "ggo.h" #include "write.h" #include "osx_write.cmdline.h" #include "error.h" @@ -278,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;