summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cm.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 20:50:59 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 20:50:59 +0200
commit215b84903ed202e69241d9fd9494fdc95e911efc (patch)
treeadb66c63498eb1c3e2e165684a123207c9d5c5d3 /source3/winbindd/winbindd_cm.c
parent09065795d6e5c48a8b3b536224552f18d68cfb84 (diff)
parent7577d9ebf06fcdb630b2cdaab8772a6da9e37b70 (diff)
downloadsamba-215b84903ed202e69241d9fd9494fdc95e911efc.tar.gz
samba-215b84903ed202e69241d9fd9494fdc95e911efc.tar.bz2
samba-215b84903ed202e69241d9fd9494fdc95e911efc.zip
Merge branch 'master' of git://git.samba.org/samba
Diffstat (limited to 'source3/winbindd/winbindd_cm.c')
-rw-r--r--source3/winbindd/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index db43101a34..05c39f8f2b 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -1038,7 +1038,7 @@ static bool add_one_dc_unique(TALLOC_CTX *mem_ctx, const char *domain_name,
/* Make sure there's no duplicates in the list */
for (i=0; i<*num; i++)
- if (addr_equal(&(*dcs)[i].ss, pss))
+ if (addr_equal((struct sockaddr *)&(*dcs)[i].ss, (struct sockaddr *)pss))
return False;
*dcs = TALLOC_REALLOC_ARRAY(mem_ctx, *dcs, struct dc_name_ip, (*num)+1);