summaryrefslogtreecommitdiff
path: root/src/output/Print.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-12-19 10:33:37 +0100
committerMax Kellermann <max@musicpd.org>2017-12-19 11:52:09 +0100
commit503063cddcb8cd0fb6b52385260e0e894d7e67cb (patch)
tree8a5470b8e4645556216e8c15d40135883b2ddee8 /src/output/Print.cxx
parent914df18bf93369d279fff85f87c4ac8524f32540 (diff)
output/Print: use %u for the index
Diffstat (limited to 'src/output/Print.cxx')
-rw-r--r--src/output/Print.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/Print.cxx b/src/output/Print.cxx
index 9b8e183d3..d2d39b898 100644
--- a/src/output/Print.cxx
+++ b/src/output/Print.cxx
@@ -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());