From 1ecd2e174a86b213c90a752f10793b6b6976d90e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 26 May 2009 20:51:48 +0200 Subject: [PATCH] Fix build on MacOs. The changes to write.h broke the osx writer. The fix is trivial though. --- osx_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2