summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-02-16 09:12:17 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-02-21 10:43:43 +0100
commit618c11cc15b0c7b16cd21e9bc10dbe474aa514ff (patch)
treedad3acc083135156eeabbbd54e41d133fac0b541
parente7659fa802627b472bd514672de76193b4694aa2 (diff)
downloadsamba-618c11cc15b0c7b16cd21e9bc10dbe474aa514ff.tar.gz
samba-618c11cc15b0c7b16cd21e9bc10dbe474aa514ff.tar.bz2
samba-618c11cc15b0c7b16cd21e9bc10dbe474aa514ff.zip
libcli/security/privileges.c - fix wrong counter type
This strictly needs to be from type "uint32_t" since "privset->count" is defined with this type.
-rw-r--r--libcli/security/privileges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/security/privileges.c b/libcli/security/privileges.c
index 1e18b44baa..adb67c19f2 100644
--- a/libcli/security/privileges.c
+++ b/libcli/security/privileges.c
@@ -296,7 +296,7 @@ bool se_priv_to_privilege_set( PRIVILEGE_SET *set, uint64_t privilege_mask )
bool privilege_set_to_se_priv( uint64_t *privilege_mask, struct lsa_PrivilegeSet *privset )
{
- int i;
+ uint32_t i;
ZERO_STRUCTP( privilege_mask );