diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-02-21 10:30:28 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-02-22 16:20:11 +1100 |
commit | d7fa34905223ebbf02dadcea0720062a30c3bbab (patch) | |
tree | 5b3a47f4a3d9dc26b25ee901fbcd72347ebeb516 /lib/util | |
parent | 2e69e894566d32001120d76d7ba58cdacb56d279 (diff) | |
download | samba-d7fa34905223ebbf02dadcea0720062a30c3bbab.tar.gz samba-d7fa34905223ebbf02dadcea0720062a30c3bbab.tar.bz2 samba-d7fa34905223ebbf02dadcea0720062a30c3bbab.zip |
s3:auth: change num_groups to from size_t to uint32_t
This will help with the change from UNIX_USER_TOKEN to security_unix_token
metze
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/util.h | 4 | ||||
-rw-r--r-- | lib/util/util_id.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/util/util.h b/lib/util/util.h index b0ed4e187b..537045c93c 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -842,9 +842,9 @@ void print_asc_cb(const uint8_t *buf, int len, */ bool add_uid_to_array_unique(TALLOC_CTX *mem_ctx, uid_t uid, - uid_t **uids, size_t *num_uids); + uid_t **uids, uint32_t *num_uids); bool add_gid_to_array_unique(TALLOC_CTX *mem_ctx, gid_t gid, - gid_t **gids, size_t *num_gids); + gid_t **gids, uint32_t *num_gids); /** * Allocate anonymous shared memory of the given size diff --git a/lib/util/util_id.c b/lib/util/util_id.c index 8744ce4e4e..d5a8c66f5e 100644 --- a/lib/util/util_id.c +++ b/lib/util/util_id.c @@ -26,7 +26,7 @@ ****************************************************************************/ bool add_gid_to_array_unique(TALLOC_CTX *mem_ctx, gid_t gid, - gid_t **gids, size_t *num_gids) + gid_t **gids, uint32_t *num_gids) { int i; @@ -59,7 +59,7 @@ bool add_gid_to_array_unique(TALLOC_CTX *mem_ctx, gid_t gid, ****************************************************************************/ bool add_uid_to_array_unique(TALLOC_CTX *mem_ctx, uid_t uid, - uid_t **uids, size_t *num_uids) + uid_t **uids, uint32_t *num_uids) { int i; |