summaryrefslogtreecommitdiffstats
path: root/libao2/ao_macosx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libao2/ao_macosx.c')
-rw-r--r--libao2/ao_macosx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_macosx.c b/libao2/ao_macosx.c
index f3d7c7951a..2487e16b63 100644
--- a/libao2/ao_macosx.c
+++ b/libao2/ao_macosx.c
@@ -460,7 +460,7 @@ static void reset()
/* zero output buffer */
for (i = 0; i < NUM_BUFS; i++)
- bzero(ao->buffer[i], ao->buffer_len);
+ memset(ao->buffer[i], 0, ao->buffer_len);
pthread_mutex_unlock(&ao->buffer_mutex);