summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/auth.h2
-rw-r--r--source3/include/smb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/auth.h b/source3/include/auth.h
index f3dae1108b..03206c03c6 100644
--- a/source3/include/auth.h
+++ b/source3/include/auth.h
@@ -58,7 +58,7 @@ typedef struct auth_serversupplied_info {
gid_t gid;
/* This groups info is needed for when we become_user() for this uid */
- int n_groups;
+ size_t n_groups;
gid_t *groups;
/* NT group information taken from the info3 structure */
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 6ceb4ec1cd..f899a71dc6 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -514,7 +514,7 @@ typedef struct connection_struct
/* following groups stuff added by ih */
/* This groups info is valid for the user that *opened* the connection */
- int ngroups;
+ size_t ngroups;
gid_t *groups;
NT_USER_TOKEN *nt_user_token;