]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
auth3: Align integer types
authorVolker Lendecke <vl@samba.org>
Thu, 4 Mar 2021 10:42:25 +0000 (11:42 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 16 Mar 2021 17:09:32 +0000 (17:09 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/auth/token_util.c

index 3a3b5d9936bcc45bbb3a8911f09df60f2cc44bcb..f508dfd3a86fbf69aa57e7b289bc77ac4d799b5d 100644 (file)
@@ -316,7 +316,7 @@ NTSTATUS create_local_nt_token_from_info3(TALLOC_CTX *mem_ctx,
        struct security_token *usrtok = NULL;
        uint32_t session_info_flags = 0;
        NTSTATUS status;
-       int i;
+       uint32_t i;
 
        DEBUG(10, ("Create local NT token for %s\n",
                   info3->base.account_name.string));
@@ -536,7 +536,7 @@ static NTSTATUS add_local_groups(struct security_token *result,
        uint32_t getgroups_num_group_sids = 0;
        struct passwd *pass = NULL;
        TALLOC_CTX *tmp_ctx = talloc_stackframe();
-       int i;
+       uint32_t i;
 
        if (is_guest) {
                /*