From de1d443db1790a6bd4483d9350d8c0c7233b15fb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 13 Jul 2022 13:25:59 +0200 Subject: [PATCH] output/Multiple: use std::size_t --- src/output/MultipleOutputs.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/output/MultipleOutputs.hxx b/src/output/MultipleOutputs.hxx index 4c4e260fd..52ef57144 100644 --- a/src/output/MultipleOutputs.hxx +++ b/src/output/MultipleOutputs.hxx @@ -82,20 +82,20 @@ public: * those which are disabled right now. */ [[gnu::pure]] - unsigned Size() const noexcept { + std::size_t Size() const noexcept { return outputs.size(); } /** * Returns the "i"th audio output device. */ - const AudioOutputControl &Get(unsigned i) const noexcept { + const AudioOutputControl &Get(std::size_t i) const noexcept { assert(i < Size()); return *outputs[i]; } - AudioOutputControl &Get(unsigned i) noexcept { + AudioOutputControl &Get(std::size_t i) noexcept { assert(i < Size()); return *outputs[i];