From 4bf783d4d6693f927f5e7ef7a9855766c91983f2 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 26 Aug 2010 20:54:13 +1000 Subject: s3-auth Change type of num_sids to uint32_t size_t is overkill here, and in struct security_token in the num_sids is uint32_t. This includes a change to the prototype of add_sid_to_array() and add_sid_to_array_unique(), which has had a number of consequnetial changes as I try to sort out all the callers using a pointer to the number of sids. Andrew Bartlett Signed-off-by: Andrew Tridgell --- source3/include/smb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/smb.h') diff --git a/source3/include/smb.h b/source3/include/smb.h index ca98a21991..f8b233ea6b 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -232,7 +232,7 @@ extern const struct dom_sid global_sid_Unix_Groups; #define PRIMARY_GROUP_SID_INDEX 1 typedef struct nt_user_token { - size_t num_sids; + uint32_t num_sids; struct dom_sid *sids; uint64_t privilege_mask; } NT_USER_TOKEN; -- cgit