aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/MessageCommands.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/MessageCommands.cxx
parentfefb35c782141b96a118dc09bddc9d588b4c2d82 (diff)
downloadmpd-2da0322329643512fdef2131b3e8666989dd8f26.tar.gz
mpd-2da0322329643512fdef2131b3e8666989dd8f26.tar.xz
mpd-2da0322329643512fdef2131b3e8666989dd8f26.zip
command: make argc unsigned
Diffstat (limited to 'src/command/MessageCommands.cxx')
-rw-r--r--src/command/MessageCommands.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/command/MessageCommands.cxx b/src/command/MessageCommands.cxx
index 02b251b9a..a86bdf30c 100644
--- a/src/command/MessageCommands.cxx
+++ b/src/command/MessageCommands.cxx
@@ -31,7 +31,7 @@
#include <assert.h>
CommandResult
-handle_subscribe(Client &client, gcc_unused int argc, char *argv[])
+handle_subscribe(Client &client, gcc_unused unsigned argc, char *argv[])
{
assert(argc == 2);
@@ -61,7 +61,7 @@ handle_subscribe(Client &client, gcc_unused int argc, char *argv[])
}
CommandResult
-handle_unsubscribe(Client &client, gcc_unused int argc, char *argv[])
+handle_unsubscribe(Client &client, gcc_unused unsigned argc, char *argv[])
{
assert(argc == 2);
@@ -76,7 +76,7 @@ handle_unsubscribe(Client &client, gcc_unused int argc, char *argv[])
CommandResult
handle_channels(Client &client,
- gcc_unused int argc, gcc_unused char *argv[])
+ gcc_unused unsigned argc, gcc_unused char *argv[])
{
assert(argc == 1);
@@ -93,7 +93,7 @@ handle_channels(Client &client,
CommandResult
handle_read_messages(Client &client,
- gcc_unused int argc, gcc_unused char *argv[])
+ gcc_unused unsigned argc, gcc_unused char *argv[])
{
assert(argc == 1);
@@ -110,7 +110,7 @@ handle_read_messages(Client &client,
CommandResult
handle_send_message(Client &client,
- gcc_unused int argc, gcc_unused char *argv[])
+ gcc_unused unsigned argc, gcc_unused char *argv[])
{
assert(argc == 3);