1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Fix a type-punned warning

This commit is contained in:
Volker Lendecke 2009-04-28 11:57:47 +02:00
parent d16e40b5ef
commit 251c220f91

View File

@ -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;
}