diff options
author | Max Kellermann <max@duempel.org> | 2008-10-17 23:53:28 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-17 23:53:28 +0200 |
commit | 02a2a407c1d52c6635a551b7a64f1959781aba6d (patch) | |
tree | 6d1f796ee72162b8389b8dd6b3c0bc1aed542f55 /src/permission.h | |
parent | f8d5b7407160a2c9ec96026b7f7cbd2f4b40afdc (diff) | |
download | mpd-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/permission.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/permission.h b/src/permission.h index af52ce411..93f85cf7d 100644 --- a/src/permission.h +++ b/src/permission.h @@ -26,11 +26,11 @@ #define PERMISSION_ADMIN 8 -int getPermissionFromPassword(char *password, int *permission); +int getPermissionFromPassword(char *password, unsigned *permission); void finishPermissions(void); -int getDefaultPermissions(void); +unsigned getDefaultPermissions(void); void initPermissions(void); |