diff options
-rw-r--r-- | src/output/osx_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c index b368ed8a1..58a4f1e17 100644 --- a/src/output/osx_plugin.c +++ b/src/output/osx_plugin.c @@ -183,13 +183,13 @@ osx_render(void *vdata, if (od->pos + bytesToCopy > od->bufferSize) { size_t bytes = od->bufferSize - od->pos; - memcpy(buffer->mData + curpos, od->buffer + od->pos, bytes); + memcpy((unsigned char*)buffer->mData + curpos, od->buffer + od->pos, bytes); od->pos = 0; curpos += bytes; bytesToCopy -= bytes; } - memcpy(buffer->mData + curpos, od->buffer + od->pos, bytesToCopy); + memcpy((unsigned char*)buffer->mData + curpos, od->buffer + od->pos, bytesToCopy); od->pos += bytesToCopy; curpos += bytesToCopy; |