mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
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 <tridge@samba.org>
This commit is contained in:
@ -986,8 +986,8 @@ static WERROR NetLocalGroupModifyMembers_r(struct libnetapi_ctx *ctx,
|
||||
|
||||
struct dom_sid *add_sids = NULL;
|
||||
struct dom_sid *del_sids = NULL;
|
||||
size_t num_add_sids = 0;
|
||||
size_t num_del_sids = 0;
|
||||
uint32_t num_add_sids = 0;
|
||||
uint32_t num_del_sids = 0;
|
||||
|
||||
if ((!add && !del && !set) || (add && del && set)) {
|
||||
return WERR_INVALID_PARAM;
|
||||
|
Reference in New Issue
Block a user