summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-02-28 12:31:53 -0800
committerJeremy Allison <jra@samba.org>2011-02-28 21:58:20 +0100
commit8238357ac77d81a18f3faa822dafba954bba7b86 (patch)
tree6f4996dc59128c84f1da061e734f5c7d1feb0ff4 /source3/smbd
parent410f9fad6c49e1af4e9700331aa2e1ed16f51b27 (diff)
downloadsamba-8238357ac77d81a18f3faa822dafba954bba7b86.tar.gz
samba-8238357ac77d81a18f3faa822dafba954bba7b86.tar.bz2
samba-8238357ac77d81a18f3faa822dafba954bba7b86.zip
Fix warning introduced by changing the size of UNIX_USER_TOKEN->ngroups from size_t to uint32_t.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sec_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sec_ctx.c b/source3/smbd/sec_ctx.c
index 54ee7aca49..a7479ed67c 100644
--- a/source3/smbd/sec_ctx.c
+++ b/source3/smbd/sec_ctx.c
@@ -132,7 +132,7 @@ static void gain_root(void)
Get the list of current groups.
****************************************************************************/
-static int get_current_groups(gid_t gid, size_t *p_ngroups, gid_t **p_groups)
+static int get_current_groups(gid_t gid, uint32_t *p_ngroups, gid_t **p_groups)
{
int i;
gid_t grp;