From: Andre Noll Date: Tue, 26 May 2009 18:51:48 +0000 (+0200) Subject: Fix build on MacOs. X-Git-Tag: v0.3.5~41^2~1 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=1ecd2e174a86b213c90a752f10793b6b6976d90e;p=paraslash.git Fix build on MacOs. The changes to write.h broke the osx writer. The fix is trivial though. --- 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;