mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
samldb: Align two integer types
ARRAY_SIZE is size_t Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
e098610d6a
commit
d1be9eee67
@ -1878,7 +1878,8 @@ static int samldb_prim_group_trigger(struct samldb_ctx *ac)
|
||||
static int samldb_check_user_account_control_invariants(struct samldb_ctx *ac,
|
||||
uint32_t user_account_control)
|
||||
{
|
||||
int i, ret = 0;
|
||||
size_t i;
|
||||
int ret = 0;
|
||||
bool need_check = false;
|
||||
const struct uac_to_guid {
|
||||
uint32_t uac;
|
||||
@ -1988,7 +1989,8 @@ static int samldb_check_user_account_control_acl(struct samldb_ctx *ac,
|
||||
uint32_t user_account_control,
|
||||
uint32_t user_account_control_old)
|
||||
{
|
||||
int i, ret = 0;
|
||||
size_t i;
|
||||
int ret = 0;
|
||||
bool need_acl_check = false;
|
||||
struct ldb_result *res;
|
||||
const char * const sd_attrs[] = {"ntSecurityDescriptor", NULL};
|
||||
|
Loading…
Reference in New Issue
Block a user