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:
parent
d16e40b5ef
commit
251c220f91
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user