summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-22 09:00:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:01:03 -0500
commit314d563b12cecb357d3ad472291bd33fa78a9b63 (patch)
tree6f17b50646a20961900d08b28cde2f8655118b55 /source3
parent0d6c51dac6ffcd5243c3ac36742344aff7ce61cc (diff)
downloadsamba-314d563b12cecb357d3ad472291bd33fa78a9b63.tar.gz
samba-314d563b12cecb357d3ad472291bd33fa78a9b63.tar.bz2
samba-314d563b12cecb357d3ad472291bd33fa78a9b63.zip
r18816: Fix some build warnings.
Guenther (This used to be commit b70ed9e48394ddeaf0102e017cf706ff083e065b)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/gpo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libads/gpo.c b/source3/libads/gpo.c
index 9cf7aae977..9c3a133516 100644
--- a/source3/libads/gpo.c
+++ b/source3/libads/gpo.c
@@ -211,7 +211,7 @@ ADS_STATUS ads_get_gpo_link(ADS_STRUCT *ads,
{
ADS_STATUS status;
const char *attrs[] = {"gPLink", "gPOptions", NULL};
- void *res = NULL;
+ LDAPMessage *res = NULL;
const char *gp_link;
uint32 gp_options;
@@ -254,7 +254,7 @@ ADS_STATUS ads_add_gpo_link(ADS_STRUCT *ads,
{
ADS_STATUS status;
const char *attrs[] = {"gPLink", NULL};
- void *res = NULL;
+ LDAPMessage *res = NULL;
const char *gp_link, *gp_link_new;
ADS_MODLIST mods;
@@ -309,7 +309,7 @@ ADS_STATUS ads_delete_gpo_link(ADS_STRUCT *ads,
{
ADS_STATUS status;
const char *attrs[] = {"gPLink", NULL};
- void *res = NULL;
+ LDAPMessage *res = NULL;
const char *gp_link, *gp_link_new = NULL;
ADS_MODLIST mods;
@@ -432,7 +432,7 @@ ADS_STATUS ads_get_gpo(ADS_STRUCT *ads,
struct GROUP_POLICY_OBJECT *gpo)
{
ADS_STATUS status;
- void *res = NULL;
+ LDAPMessage *res = NULL;
char *dn;
const char *filter;
const char *attrs[] = { "cn", "displayName", "flags", "gPCFileSysPath",