s3-acl Use uint32_t for counting the ACEs
authorAndrew Bartlett <abartlet@samba.org>
Sat, 18 Sep 2010 00:54:37 +0000 (10:54 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 14 Oct 2010 02:35:04 +0000 (02:35 +0000)
Signed-off-by: Andrew Tridgell <tridge@samba.org>
source3/lib/util_seaccess.c

index 5fc450ec25446d9247ffc0acecb0637a3babf53d..6500f926fdc3f2d0ffc4f119d52f6bb2e96290f0 100644 (file)
@@ -157,7 +157,7 @@ NTSTATUS se_access_check(const struct security_descriptor *sd,
                          uint32_t access_desired,
                          uint32_t *access_granted)
 {
-       int i;
+       uint32_t i;
        uint32_t bits_remaining;
 
        *access_granted = access_desired;