ARRAY_SIZE is size_t
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
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;
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};