summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-28 11:57:47 +0200
committerVolker Lendecke <vl@samba.org>2009-04-28 11:58:44 +0200
commit251c220f91681a9e39452eba860d38e73ec719a4 (patch)
treeeec20eaa07de93139e87d62e7cc8b875081d557a
parentd16e40b5ef9add630d027ff92e440c44bfb88ef0 (diff)
downloadsamba-251c220f91681a9e39452eba860d38e73ec719a4.tar.gz
samba-251c220f91681a9e39452eba860d38e73ec719a4.tar.bz2
samba-251c220f91681a9e39452eba860d38e73ec719a4.zip
Fix a type-punned warning
-rw-r--r--source3/libsmb/dsgetdcname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index 1064a63d97..5606b8e7c9 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -656,7 +656,7 @@ static NTSTATUS discover_dc_dns(TALLOC_CTX *mem_ctx,
* back to netbios lookups is that our DNS server doesn't know
* anything about the DC's -- jerry */
- if (!is_zero_addr((struct sockaddr *)&r->ss)) {
+ if (!is_zero_addr((struct sockaddr *)(void *)&r->ss)) {
count++;
continue;
}