From 3f589c2155557c02c9dc0eeee972bb68c1fd147f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 27 Aug 2010 09:50:12 +1000 Subject: libcli/security Use C99 types Signed-off-by: Andrew Tridgell --- libcli/security/privileges.c | 6 +++--- 1 file 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; ilow == privs[i].luid ) { -- cgit