diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-27 09:50:12 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:07 +1000 |
commit | 3f589c2155557c02c9dc0eeee972bb68c1fd147f (patch) | |
tree | 3178f6f304b1b5198d32cbe0f588c0179402f24d | |
parent | b0690d6da7c60ef54d243e487260540666cc58ff (diff) | |
download | samba-3f589c2155557c02c9dc0eeee972bb68c1fd147f.tar.gz samba-3f589c2155557c02c9dc0eeee972bb68c1fd147f.tar.bz2 samba-3f589c2155557c02c9dc0eeee972bb68c1fd147f.zip |
libcli/security Use C99 types
Signed-off-by: Andrew Tridgell <tridge@samba.org>
-rw-r--r-- | libcli/security/privileges.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcli/security/privileges.c b/libcli/security/privileges.c index 0babdb32e6..8c5ca347f5 100644 --- a/libcli/security/privileges.c +++ b/libcli/security/privileges.c @@ -91,7 +91,7 @@ bool se_priv_copy( uint64_t *dst, const uint64_t *src ) bool se_priv_put_all_privileges(uint64_t *privilege_mask) { int i; - uint32 num_privs = count_all_privileges(); + uint32_t num_privs = count_all_privileges(); if (!se_priv_copy(privilege_mask, &se_priv_none)) { return false; @@ -393,7 +393,7 @@ static bool privilege_set_add(PRIVILEGE_SET *priv_set, struct lsa_LUIDAttribute bool se_priv_to_privilege_set( PRIVILEGE_SET *set, uint64_t *privilege_mask ) { int i; - uint32 num_privs = count_all_privileges(); + uint32_t num_privs = count_all_privileges(); struct lsa_LUIDAttribute luid; luid.attribute = 0; @@ -419,7 +419,7 @@ bool se_priv_to_privilege_set( PRIVILEGE_SET *set, uint64_t *privilege_mask ) static bool luid_to_se_priv( struct lsa_LUID *luid, uint64_t *privilege_mask ) { int i; - uint32 num_privs = count_all_privileges(); + uint32_t num_privs = count_all_privileges(); for ( i=0; i<num_privs; i++ ) { if ( luid->low == privs[i].luid ) { |