diff --git a/src/output/plugins/OSXOutputPlugin.cxx b/src/output/plugins/OSXOutputPlugin.cxx index a02f3e9a4..c275d17e6 100644 --- a/src/output/plugins/OSXOutputPlugin.cxx +++ b/src/output/plugins/OSXOutputPlugin.cxx @@ -627,7 +627,7 @@ osx_render(void *vdata, { OSXOutput *od = (OSXOutput *) vdata; - int count = in_number_frames * od->asbd.mBytesPerFrame; + std::size_t count = in_number_frames * od->asbd.mBytesPerFrame; buffer_list->mBuffers[0].mDataByteSize = od->ring_buffer->pop((uint8_t *)buffer_list->mBuffers[0].mData, count);