Commit 503063cd authored by Max Kellermann's avatar Max Kellermann

output/Print: use %u for the index

parent 914df18b
...@@ -34,7 +34,7 @@ printAudioDevices(Response &r, const MultipleOutputs &outputs) ...@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment