diff options
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; |