From d47ad23fe85ca9ffe88ab34f40e260b26d0f7407 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 7 Mar 2015 16:10:45 +0100 Subject: [PATCH] no more gcc/ppc complaints --- libs/backends/coreaudio/coreaudio_pcmio.cc | 4 ++-- libs/backends/coreaudio/wscript | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/backends/coreaudio/coreaudio_pcmio.cc b/libs/backends/coreaudio/coreaudio_pcmio.cc index b2279674ea..769cf1074a 100644 --- a/libs/backends/coreaudio/coreaudio_pcmio.cc +++ b/libs/backends/coreaudio/coreaudio_pcmio.cc @@ -293,7 +293,7 @@ CoreAudioPCM::available_sample_rates(uint32_t device_id, std::vector& sam return -1; } - int numRates = size / sizeof(AudioValueRange); + uint32_t numRates = size / sizeof(AudioValueRange); AudioValueRange* supportedRates = new AudioValueRange[numRates]; err = GetPropertyWrapper (_device_ids[device_id], 0, false, kAudioDevicePropertyAvailableNominalSampleRates, &size, supportedRates); @@ -431,7 +431,7 @@ CoreAudioPCM::get_stream_latencies(uint32_t device_id, bool input, std::vector