Fix some compile warnings

This commit is contained in:
Jonas Kvinge
2020-07-13 18:11:57 +02:00
parent bcc5450aef
commit 614a09db1d
5 changed files with 8 additions and 8 deletions

View File

@@ -81,7 +81,7 @@ QList<DeviceFinder::Device> MacOsDeviceFinder::ListDevices() {
if (!devices.get()) {
return ret;
}
const int device_count = device_size_bytes / sizeof(AudioDeviceID);
const UInt32 device_count = device_size_bytes / sizeof(AudioDeviceID);
address.mScope = kAudioDevicePropertyScopeOutput;
for (UInt32 i = 0; i < device_count; ++i) {