From d7fa34905223ebbf02dadcea0720062a30c3bbab Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 21 Feb 2011 10:30:28 +0100 Subject: 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 --- lib/util/util.h | 4 ++-- lib/util/util_id.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') 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; -- cgit