diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-06-01 10:12:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:23 -0500 |
commit | 770e3307ce3da928762e15a136c562df86a9c799 (patch) | |
tree | 95930ce042b039faad683515a13e1d8413871b5d /source4/utils/net_ads_cldap.c | |
parent | 98d291423ff581786a369ce373c861f94c654aa0 (diff) | |
download | samba-770e3307ce3da928762e15a136c562df86a9c799.tar.gz samba-770e3307ce3da928762e15a136c562df86a9c799.tar.bz2 samba-770e3307ce3da928762e15a136c562df86a9c799.zip |
r962: convert 'unsigned' and 'unsigned int' to uint_t
metze
(This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
Diffstat (limited to 'source4/utils/net_ads_cldap.c')
-rw-r--r-- | source4/utils/net_ads_cldap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/utils/net_ads_cldap.c b/source4/utils/net_ads_cldap.c index 2fdb6e58fd..a4464182bb 100644 --- a/source4/utils/net_ads_cldap.c +++ b/source4/utils/net_ads_cldap.c @@ -57,14 +57,14 @@ struct cldap_netlogon_reply { length encoded strings, terminated by either 1) a zero length string or 2) a 0xc0 byte with what appears to be a one byte flags immediately following. */ -static unsigned pull_netlogon_string(struct netlogon_string *ret,const char *d) +static uint_t pull_netlogon_string(struct netlogon_string *ret,const char *d) { char *p = (char *)d; ZERO_STRUCTP(ret); do { - unsigned len = (uint8_t)*p; + uint_t len = (uint8_t)*p; p++; if (len > 0 && len != 0xc0) { @@ -91,7 +91,7 @@ static unsigned pull_netlogon_string(struct netlogon_string *ret,const char *d) do a cldap netlogon query */ static int send_cldap_netlogon(int sock, const char *domain, - const char *hostname, unsigned ntversion) + const char *hostname, uint_t ntversion) { ASN1_DATA data; char ntver[4]; |