aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/OutputCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-28 22:13:34 +0100
committerMax Kellermann <max@duempel.org>2014-06-16 19:50:34 +0200
commit2da0322329643512fdef2131b3e8666989dd8f26 (patch)
tree3d7109d87ce4bb4d334d421816311881ffdda435 /src/command/OutputCommands.cxx
parentfefb35c782141b96a118dc09bddc9d588b4c2d82 (diff)
downloadmpd-2da0322329643512fdef2131b3e8666989dd8f26.tar.gz
mpd-2da0322329643512fdef2131b3e8666989dd8f26.tar.xz
mpd-2da0322329643512fdef2131b3e8666989dd8f26.zip
command: make argc unsigned
Diffstat (limited to '')
-rw-r--r--src/command/OutputCommands.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command/OutputCommands.cxx b/src/command/OutputCommands.cxx
index 03058d7ed..c69a0dd65 100644
--- a/src/command/OutputCommands.cxx
+++ b/src/command/OutputCommands.cxx
@@ -27,7 +27,7 @@
#include "Partition.hxx"
CommandResult
-handle_enableoutput(Client &client, gcc_unused int argc, char *argv[])
+handle_enableoutput(Client &client, gcc_unused unsigned argc, char *argv[])
{
unsigned device;
if (!check_unsigned(client, &device, argv[1]))
@@ -43,7 +43,7 @@ handle_enableoutput(Client &client, gcc_unused int argc, char *argv[])
}
CommandResult
-handle_disableoutput(Client &client, gcc_unused int argc, char *argv[])
+handle_disableoutput(Client &client, gcc_unused unsigned argc, char *argv[])
{
unsigned device;
if (!check_unsigned(client, &device, argv[1]))
@@ -59,7 +59,7 @@ handle_disableoutput(Client &client, gcc_unused int argc, char *argv[])
}
CommandResult
-handle_toggleoutput(Client &client, gcc_unused int argc, char *argv[])
+handle_toggleoutput(Client &client, gcc_unused unsigned argc, char *argv[])
{
unsigned device;
if (!check_unsigned(client, &device, argv[1]))
@@ -76,7 +76,7 @@ handle_toggleoutput(Client &client, gcc_unused int argc, char *argv[])
CommandResult
handle_devices(Client &client,
- gcc_unused int argc, gcc_unused char *argv[])
+ gcc_unused unsigned argc, gcc_unused char *argv[])
{
printAudioDevices(client, client.partition.outputs);