Commit 1170fb1e authored by Max Kellermann's avatar Max Kellermann

output/osx: change type to std::size_t to fix -Wc++11-narrowing

parent 65b9b319
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment