From 503063cddcb8cd0fb6b52385260e0e894d7e67cb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 19 Dec 2017 10:33:37 +0100 Subject: [PATCH] output/Print: use %u for the index --- src/output/Print.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());