output/Print: use %u for the index
This commit is contained in:
parent
914df18bf9
commit
503063cddc
|
@ -34,7 +34,7 @@ printAudioDevices(Response &r, const MultipleOutputs &outputs)
|
||||||
for (unsigned i = 0, n = outputs.Size(); i != n; ++i) {
|
for (unsigned i = 0, n = outputs.Size(); i != n; ++i) {
|
||||||
const auto &ao = outputs.Get(i);
|
const auto &ao = outputs.Get(i);
|
||||||
|
|
||||||
r.Format("outputid: %i\n"
|
r.Format("outputid: %u\n"
|
||||||
"outputname: %s\n"
|
"outputname: %s\n"
|
||||||
"outputenabled: %i\n",
|
"outputenabled: %i\n",
|
||||||
i, ao.GetName(), ao.IsEnabled());
|
i, ao.GetName(), ao.IsEnabled());
|
||||||
|
|
Loading…
Reference in New Issue