size = sizeof(tmp);
err = AudioObjectGetPropertyData(u->object_id, &property_address, 0, NULL, &size, tmp);
if (err || !strlen(tmp))
- snprintf(tmp, sizeof(tmp), "Channel %d", property_address.mElement);
+ snprintf(tmp, sizeof(tmp), "Channel %d", (int) property_address.mElement);
if (i > 0)
pa_strbuf_puts(strbuf, ", ");
size = sizeof(tmp);
err = AudioObjectGetPropertyData(u->object_id, &property_address, 0, NULL, &size, tmp);
if (err || !strlen(tmp))
- snprintf(tmp, sizeof(tmp), "Channel %d", property_address.mElement);
+ snprintf(tmp, sizeof(tmp), "Channel %d", (int) property_address.mElement);
if (i > 0)
pa_strbuf_puts(strbuf, ", ");