From 251c220f91681a9e39452eba860d38e73ec719a4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 28 Apr 2009 11:57:47 +0200 Subject: Fix a type-punned warning --- source3/libsmb/dsgetdcname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit