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 --- source3/lib/system_smbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/system_smbd.c b/source3/lib/system_smbd.c index 37fac27b73..3bb2c4240b 100644 --- a/source3/lib/system_smbd.c +++ b/source3/lib/system_smbd.c @@ -146,9 +146,9 @@ static int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *grp bool getgroups_unix_user(TALLOC_CTX *mem_ctx, const char *user, gid_t primary_gid, - gid_t **ret_groups, size_t *p_ngroups) + gid_t **ret_groups, uint32_t *p_ngroups) { - size_t ngrp; + uint32_t ngrp; int max_grp; gid_t *temp_groups; gid_t *groups; -- cgit