From 770e3307ce3da928762e15a136c562df86a9c799 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 1 Jun 2004 10:12:52 +0000 Subject: r962: convert 'unsigned' and 'unsigned int' to uint_t metze (This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38) --- source4/libads/disp_sec.c | 2 +- source4/libads/ldap.c | 6 +++--- source4/libads/sasl.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/libads') diff --git a/source4/libads/disp_sec.c b/source4/libads/disp_sec.c index 0d8954a978..8cdef5e168 100644 --- a/source4/libads/disp_sec.c +++ b/source4/libads/disp_sec.c @@ -65,7 +65,7 @@ static void ads_disp_perms(uint32_t type) for (i = 0; i < 32; i++) { if (type & (1 << i)) { for (j = 1; perms[j].str; j ++) { - if (perms[j].mask == (((unsigned) 1) << i)) { + if (perms[j].mask == (((uint_t) 1) << i)) { printf("\n\t%s", perms[j].str); } } diff --git a/source4/libads/ldap.c b/source4/libads/ldap.c index 6a2dcbaa87..0abdb3f106 100644 --- a/source4/libads/ldap.c +++ b/source4/libads/ldap.c @@ -45,7 +45,7 @@ TODO : add a negative connection cache in here leveraged off of the one found in the rpc code. --jerry */ -static BOOL ads_try_connect(ADS_STRUCT *ads, const char *server, unsigned port) +static BOOL ads_try_connect(ADS_STRUCT *ads, const char *server, uint_t port) { char *srv; @@ -997,8 +997,8 @@ static ADS_STATUS ads_add_machine_acct(ADS_STRUCT *ads, const char *hostname, "user", "computer", NULL}; const char *servicePrincipalName[5] = {NULL, NULL, NULL, NULL, NULL}; char *psp, *psp2; - unsigned acct_control; - unsigned exists=0; + uint_t acct_control; + uint_t exists=0; LDAPMessage *res; status = ads_find_machine_acct(ads, (void **)&res, hostname); diff --git a/source4/libads/sasl.c b/source4/libads/sasl.c index 7604414365..ce787400f7 100644 --- a/source4/libads/sasl.c +++ b/source4/libads/sasl.c @@ -248,7 +248,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads) uint8_t *p; uint32_t max_msg_size; char *sname; - unsigned sec_layer; + uint_t sec_layer; ADS_STATUS status; krb5_principal principal; krb5_context ctx; -- cgit