From 2da0322329643512fdef2131b3e8666989dd8f26 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 28 Feb 2014 22:13:34 +0100 Subject: command: make argc unsigned --- src/command/StorageCommands.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/command/StorageCommands.cxx') diff --git a/src/command/StorageCommands.cxx b/src/command/StorageCommands.cxx index 7a20fcc01..aeec73e1c 100644 --- a/src/command/StorageCommands.cxx +++ b/src/command/StorageCommands.cxx @@ -166,7 +166,7 @@ print_storage_uri(Client &client, const Storage &storage) } CommandResult -handle_listmounts(Client &client, gcc_unused int argc, gcc_unused char *argv[]) +handle_listmounts(Client &client, gcc_unused unsigned argc, gcc_unused char *argv[]) { Storage *_composite = client.partition.instance.storage; if (_composite == nullptr) { @@ -188,7 +188,7 @@ handle_listmounts(Client &client, gcc_unused int argc, gcc_unused char *argv[]) } CommandResult -handle_mount(Client &client, gcc_unused int argc, char *argv[]) +handle_mount(Client &client, gcc_unused unsigned argc, char *argv[]) { Storage *_composite = client.partition.instance.storage; if (_composite == nullptr) { @@ -250,7 +250,7 @@ handle_mount(Client &client, gcc_unused int argc, char *argv[]) } CommandResult -handle_unmount(Client &client, gcc_unused int argc, char *argv[]) +handle_unmount(Client &client, gcc_unused unsigned argc, char *argv[]) { Storage *_composite = client.partition.instance.storage; if (_composite == nullptr) { -- cgit v1.2.3