output/Print: use %u for the index

This commit is contained in:
Max Kellermann 2017-12-19 10:33:37 +01:00
parent 914df18bf9
commit 503063cddc
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ printAudioDevices(Response &r, const MultipleOutputs &outputs)
for (unsigned i = 0, n = outputs.Size(); i != n; ++i) {
const auto &ao = outputs.Get(i);
r.Format("outputid: %i\n"
r.Format("outputid: %u\n"
"outputname: %s\n"
"outputenabled: %i\n",
i, ao.GetName(), ao.IsEnabled());