summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorRichard Sharpe <rsharpe@samba.org>2015-05-13 17:26:01 -0700
committerJeremy Allison <jra@samba.org>2015-05-14 22:16:56 +0200
commit57568f1900152c4cb381e151049414086bada14b (patch)
treedd8fce80c579dd5314863cf3e55dd5a60108f862 /source3/libads
parent059a6e00251acc29dbb4efce3bbea231ba5ba153 (diff)
downloadsamba-57568f1900152c4cb381e151049414086bada14b.tar.gz
Convert all uint32/16/8 to _t in a grab-bag of remaining files.
I still need to fix the rpc stuff, but we are almost there. 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 14 22:16:56 CEST 2015 on sn-devel-104
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c2
-rw-r--r--source3/libads/sasl_wrapping.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 2ad9bfdee1e..1c0375d2aa8 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -1788,7 +1788,7 @@ ADS_STATUS ads_add_strlist(TALLOC_CTX *ctx, ADS_MODLIST *mods,
uint32_t ads_get_kvno(ADS_STRUCT *ads, const char *account_name)
{
LDAPMessage *res = NULL;
- uint32_t kvno = (uint32)-1; /* -1 indicates a failure */
+ uint32_t kvno = (uint32_t)-1; /* -1 indicates a failure */
char *filter;
const char *attrs[] = {"msDS-KeyVersionNumber", NULL};
char *dn_string = NULL;
diff --git a/source3/libads/sasl_wrapping.c b/source3/libads/sasl_wrapping.c
index 9296d60ba9d..c7a58ab6147 100644
--- a/source3/libads/sasl_wrapping.c
+++ b/source3/libads/sasl_wrapping.c
@@ -45,7 +45,7 @@ static ber_slen_t ads_saslwrap_prepare_inbuf(ADS_STRUCT *ads)
ads->ldap.in.left = 0;
ads->ldap.in.size = 4 + ads->ldap.in.min_wrapped;
ads->ldap.in.buf = talloc_array(ads->ldap.mem_ctx,
- uint8, ads->ldap.in.size);
+ uint8_t, ads->ldap.in.size);
if (!ads->ldap.in.buf) {
return -1;
}
@@ -62,7 +62,7 @@ static ber_slen_t ads_saslwrap_grow_inbuf(ADS_STRUCT *ads)
ads->ldap.in.size = 4 + ads->ldap.in.needed;
ads->ldap.in.buf = talloc_realloc(ads->ldap.mem_ctx,
ads->ldap.in.buf,
- uint8, ads->ldap.in.size);
+ uint8_t, ads->ldap.in.size);
if (!ads->ldap.in.buf) {
return -1;
}
@@ -177,7 +177,7 @@ static ber_slen_t ads_saslwrap_prepare_outbuf(ADS_STRUCT *ads, uint32_t len)
ads->ldap.out.left = 0;
ads->ldap.out.size = 4 + ads->ldap.out.sig_size + len;
ads->ldap.out.buf = talloc_array(ads->ldap.mem_ctx,
- uint8, ads->ldap.out.size);
+ uint8_t, ads->ldap.out.size);
if (!ads->ldap.out.buf) {
return -1;
}
@@ -214,7 +214,7 @@ static ber_slen_t ads_saslwrap_write(Sockbuf_IO_Desc *sbiod, void *buf, ber_len_
ret = ads_saslwrap_prepare_outbuf(ads, rlen);
if (ret < 0) return ret;
- status = ads->ldap.wrap_ops->wrap(ads, (uint8 *)buf, rlen);
+ status = ads->ldap.wrap_ops->wrap(ads, (uint8_t *)buf, rlen);
if (!ADS_ERR_OK(status)) {
errno = EACCES;
return -1;