summaryrefslogtreecommitdiff
path: root/source4/libads
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-25 17:24:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:16 -0500
commitf88bf54c7f6d1c2ef833047eb8327953c304b5ff (patch)
tree07da4ab8641b2200eaca5b5ea9adba26b0712277 /source4/libads
parentf2ad98a165cdec6d344a96aeb21a38518a10720a (diff)
downloadsamba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.tar.gz
samba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.tar.bz2
samba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.zip
r889: convert samba4 to use [u]int16_t instead of [u]int16
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
Diffstat (limited to 'source4/libads')
-rw-r--r--source4/libads/krb5_setpw.c4
-rw-r--r--source4/libads/ldap.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/libads/krb5_setpw.c b/source4/libads/krb5_setpw.c
index 9cf15221a8..5a736d4dcd 100644
--- a/source4/libads/krb5_setpw.c
+++ b/source4/libads/krb5_setpw.c
@@ -111,7 +111,7 @@ static DATA_BLOB encode_krb5_setpw(const char *principal, const char *password)
return ret;
}
-static krb5_error_code build_kpasswd_request(uint16 pversion,
+static krb5_error_code build_kpasswd_request(uint16_t pversion,
krb5_context context,
krb5_auth_context auth_context,
krb5_data *ap_req,
@@ -340,7 +340,7 @@ static krb5_error_code parse_setpw_reply(krb5_context context,
static ADS_STATUS do_krb5_kpasswd_request(krb5_context context,
const char *kdc_host,
- uint16 pversion,
+ uint16_t pversion,
krb5_creds *credsp,
const char *princ,
const char *newpw)
diff --git a/source4/libads/ldap.c b/source4/libads/ldap.c
index 9161c35692..1e109ea5f2 100644
--- a/source4/libads/ldap.c
+++ b/source4/libads/ldap.c
@@ -1108,8 +1108,8 @@ static void dump_binary(const char *field, struct berval **values)
struct uuid {
uint32_t i1;
- uint16 i2;
- uint16 i3;
+ uint16_t i2;
+ uint16_t i3;
uint8 s[8];
};