]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libndr: Align an integer type
authorVolker Lendecke <vl@samba.org>
Thu, 29 Aug 2024 14:41:21 +0000 (16:41 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 10 Sep 2024 21:54:36 +0000 (21:54 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/ndr/ndr_sec_helper.c

index 1a156b01d4058d41cdcf6d22edd15430ef42e8d7..028d11c2a83ea22a1585713362c55445e16ceeb1 100644 (file)
@@ -210,7 +210,7 @@ size_t ndr_subcontext_size_of_ace_coda(const struct security_ace *ace,
 size_t ndr_size_security_acl(const struct security_acl *theacl, libndr_flags flags)
 {
        size_t ret;
-       int i;
+       uint32_t i;
        if (!theacl) return 0;
        ret = 8;
        for (i=0;i<theacl->num_aces;i++) {