aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-17 23:53:28 +0200
committerMax Kellermann <max@duempel.org>2008-10-17 23:53:28 +0200
commit02a2a407c1d52c6635a551b7a64f1959781aba6d (patch)
tree6d1f796ee72162b8389b8dd6b3c0bc1aed542f55 /src/client.h
parentf8d5b7407160a2c9ec96026b7f7cbd2f4b40afdc (diff)
downloadmpd-02a2a407c1d52c6635a551b7a64f1959781aba6d.tar.gz
mpd-02a2a407c1d52c6635a551b7a64f1959781aba6d.tar.xz
mpd-02a2a407c1d52c6635a551b7a64f1959781aba6d.zip
client: converted permissions to unsigned
client->permission is a bit set, and should be unsigned.
Diffstat (limited to '')
-rw-r--r--src/client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.h b/src/client.h
index 58c2003de..64ba33b14 100644
--- a/src/client.h
+++ b/src/client.h
@@ -43,9 +43,9 @@ int client_is_expired(const struct client *client);
*/
int client_get_uid(const struct client *client);
-int client_get_permission(const struct client *client);
+unsigned client_get_permission(const struct client *client);
-void client_set_permission(struct client *client, int permission);
+void client_set_permission(struct client *client, unsigned permission);
/**
* Write a block of data to the client.