From f9d8f8843dc0ab8c9d59abde7222e0f118b86b5d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 May 2004 16:24:13 +0000 Subject: r884: convert samba4 to use [u]int32_t instead of [u]int32 metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095) --- source4/libads/ads_ldap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/libads/ads_ldap.c') diff --git a/source4/libads/ads_ldap.c b/source4/libads/ads_ldap.c index 944cb1599c..b9e07e4c33 100644 --- a/source4/libads/ads_ldap.c +++ b/source4/libads/ads_ldap.c @@ -35,7 +35,7 @@ NTSTATUS ads_name_to_sid(ADS_STRUCT *ads, ADS_STATUS rc; void *res = NULL; char *ldap_exp; - uint32 t; + uint32_t t; NTSTATUS status = NT_STATUS_UNSUCCESSFUL; char *escaped_name = escape_ldap_string_alloc(name); char *escaped_realm = escape_ldap_string_alloc(ads->config.realm); @@ -70,7 +70,7 @@ NTSTATUS ads_name_to_sid(ADS_STRUCT *ads, goto done; } - if (!ads_pull_uint32(ads, res, "sAMAccountType", &t)) { + if (!ads_pull_uint32_t(ads, res, "sAMAccountType", &t)) { DEBUG(1,("No sAMAccountType for %s !?\n", name)); goto done; } @@ -104,7 +104,7 @@ NTSTATUS ads_sid_to_name(ADS_STRUCT *ads, void *msg = NULL; char *ldap_exp = NULL; char *sidstr = NULL; - uint32 atype; + uint32_t atype; NTSTATUS status = NT_STATUS_UNSUCCESSFUL; if (!(sidstr = sid_binstring(sid))) { @@ -126,7 +126,7 @@ NTSTATUS ads_sid_to_name(ADS_STRUCT *ads, goto done; } - if (!ads_pull_uint32(ads, msg, "sAMAccountType", &atype)) { + if (!ads_pull_uint32_t(ads, msg, "sAMAccountType", &atype)) { goto done; } -- cgit