diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-16 09:12:17 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-21 10:43:43 +0100 |
commit | 618c11cc15b0c7b16cd21e9bc10dbe474aa514ff (patch) | |
tree | dad3acc083135156eeabbbd54e41d133fac0b541 /libcli/security/privileges.c | |
parent | e7659fa802627b472bd514672de76193b4694aa2 (diff) | |
download | samba-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.
Diffstat (limited to 'libcli/security/privileges.c')
-rw-r--r-- | libcli/security/privileges.c | 2 |
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 ); |