diff options
author | Richard Sharpe <rsharpe@samba.org> | 2015-05-06 17:00:06 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-05-07 04:53:39 +0200 |
commit | 57941aa044b8e0ddac5cb1004172ba06bb4298a3 (patch) | |
tree | 9fb8f7109eeae662c18eaf744a471d18d7881ecd /source3/utils/smbcacls.c | |
parent | bacd990184e05738f80865dd363add57c59384c0 (diff) | |
download | samba-57941aa044b8e0ddac5cb1004172ba06bb4298a3.tar.gz |
s3: utils: Convert all uses of uint32/16/8 to _t.
Signed-off-by: Richard Sharpe <rsharpe@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu May 7 04:53:39 CEST 2015 on sn-devel-104
Diffstat (limited to 'source3/utils/smbcacls.c')
-rw-r--r-- | source3/utils/smbcacls.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index 926e496ef6c..2596069e8ee 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -51,7 +51,7 @@ static NTSTATUS cli_lsa_lookup_domain_sid(struct cli_state *cli, struct dom_sid *sid) { union lsa_PolicyInformation *info = NULL; - uint16 orig_cnum = cli_state_get_tid(cli); + uint16_t orig_cnum = cli_state_get_tid(cli); struct rpc_pipe_client *rpc_pipe = NULL; struct policy_handle handle; NTSTATUS status, result; @@ -218,10 +218,10 @@ static struct security_descriptor *sec_desc_parse(TALLOC_CTX *ctx, struct cli_st /***************************************************** get fileinfo for filename *******************************************************/ -static uint16 get_fileinfo(struct cli_state *cli, const char *filename) +static uint16_t get_fileinfo(struct cli_state *cli, const char *filename) { uint16_t fnum = (uint16_t)-1; - uint16 mode = 0; + uint16_t mode = 0; NTSTATUS status; /* The desired access below is the only one I could find that works @@ -465,7 +465,7 @@ static int ace_compare(struct security_ace *ace1, struct security_ace *ace2) static void sort_acl(struct security_acl *the_acl) { - uint32 i; + uint32_t i; if (!the_acl) return; TYPESAFE_QSORT(the_acl->aces, the_acl->num_aces, ace_compare); @@ -492,7 +492,7 @@ static int cacl_set(struct cli_state *cli, const char *filename, char *the_acl, enum acl_mode mode, bool numeric) { struct security_descriptor *sd, *old; - uint32 i, j; + uint32_t i, j; size_t sd_size; int result = EXIT_OK; @@ -520,7 +520,7 @@ static int cacl_set(struct cli_state *cli, const char *filename, for (j=0;old->dacl && j<old->dacl->num_aces;j++) { if (security_ace_equal(&sd->dacl->aces[i], &old->dacl->aces[j])) { - uint32 k; + uint32_t k; for (k=j; k<old->dacl->num_aces-1;k++) { old->dacl->aces[k] = old->dacl->aces[k+1]; } @@ -612,7 +612,7 @@ static int inherit(struct cli_state *cli, const char *filename, const char *type) { struct security_descriptor *old,*sd; - uint32 oldattr; + uint32_t oldattr; size_t sd_size; int result = EXIT_OK; |