aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/osx_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/osx_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c
index ffeb8cd5e..b9fb8c15b 100644
--- a/src/output/osx_plugin.c
+++ b/src/output/osx_plugin.c
@@ -257,7 +257,7 @@ osx_openDevice(void *data, struct audio_format *audioFormat)
}
static size_t
-osx_play(void *data, const char *playChunk, size_t size)
+osx_play(void *data, const void *chunk, size_t size)
{
OsxData *od = data;
size_t start, nbytes;
@@ -291,7 +291,7 @@ osx_play(void *data, const char *playChunk, size_t size)
if (nbytes > size)
nbytes = size;
- memcpy(od->buffer + start, playChunk, nbytes);
+ memcpy(od->buffer + start, chunk, nbytes);
od->len += nbytes;
g_mutex_unlock(od->mutex);