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 --- libgpo/gpo_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgpo/gpo_ldap.c') diff --git a/libgpo/gpo_ldap.c b/libgpo/gpo_ldap.c index 367756d7a2..26a091d18c 100644 --- a/libgpo/gpo_ldap.c +++ b/libgpo/gpo_ldap.c @@ -627,7 +627,7 @@ ADS_STATUS ads_get_sid_token(ADS_STRUCT *ads, struct dom_sid *ad_token_sids; size_t num_ad_token_sids = 0; struct dom_sid *token_sids; - size_t num_token_sids = 0; + uint32_t num_token_sids = 0; NT_USER_TOKEN *new_token = NULL; int i; -- cgit