summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/gpo.c2
-rw-r--r--source3/utils/net_ads_gpo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/gpo.c b/source3/libads/gpo.c
index 85809d341f..1d5cdfa026 100644
--- a/source3/libads/gpo.c
+++ b/source3/libads/gpo.c
@@ -364,7 +364,7 @@ ADS_STATUS ads_delete_gpo_link(ADS_STRUCT *ads,
ADS_STATUS ads_parse_gpo(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
- void *res,
+ LDAPMessage *res,
const char *gpo_dn,
struct GROUP_POLICY_OBJECT *gpo)
{
diff --git a/source3/utils/net_ads_gpo.c b/source3/utils/net_ads_gpo.c
index de8a5477f8..094ab09938 100644
--- a/source3/utils/net_ads_gpo.c
+++ b/source3/utils/net_ads_gpo.c
@@ -135,7 +135,7 @@ static int net_ads_gpo_list(int argc, const char **argv)
ADS_STATUS status;
LDAPMessage *res = NULL;
int num_reply = 0;
- void *msg = NULL;
+ LDAPMessage *msg = NULL;
struct GROUP_POLICY_OBJECT gpo;
TALLOC_CTX *mem_ctx;
char *dn;