summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-10-05 09:41:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:12 -0500
commit04e7e6b457f651aeb83359e37c44dd374cd68091 (patch)
treebf3d40d865350eb205bad12b75663297c0cfab46 /source3/sam
parenta8281b19c712a4b87f4c826b52ef4aaf16a6fc11 (diff)
downloadsamba-04e7e6b457f651aeb83359e37c44dd374cd68091.tar.gz
samba-04e7e6b457f651aeb83359e37c44dd374cd68091.tar.bz2
samba-04e7e6b457f651aeb83359e37c44dd374cd68091.zip
r19095: Fix some compile warnings.
Guenther (This used to be commit a0d19e1ebe694b089d40d67ea4f26e076af53ff9)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/idmap_ad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/sam/idmap_ad.c b/source3/sam/idmap_ad.c
index 4c927e8540..bb48c41131 100644
--- a/source3/sam/idmap_ad.c
+++ b/source3/sam/idmap_ad.c
@@ -150,7 +150,7 @@ static NTSTATUS ad_idmap_get_sid_from_id(DOM_SID *sid, unid_t unid, enum idmap_t
NTSTATUS status = NT_STATUS_NONE_MAPPED;
const char *attrs[] = { "objectSid", NULL };
LDAPMessage *res = NULL;
- void *msg = NULL;
+ LDAPMessage *msg = NULL;
char *expr = NULL;
fstring sid_string;
int count;
@@ -236,7 +236,7 @@ static NTSTATUS ad_idmap_get_id_from_sid(unid_t *unid, enum idmap_type *id_type,
ADS_ATTR_RFC2307_GIDNUMBER_OID,
NULL };
LDAPMessage *res = NULL;
- void *msg = NULL;
+ LDAPMessage *msg = NULL;
char *expr = NULL;
uint32 atype, uid;
char *sidstr;