git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d16e40b
)
Fix a type-punned warning
author
Volker Lendecke
<vl@samba.org>
Tue, 28 Apr 2009 09:57:47 +0000
(11:57 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 28 Apr 2009 09:58:44 +0000
(11:58 +0200)
source3/libsmb/dsgetdcname.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/dsgetdcname.c
b/source3/libsmb/dsgetdcname.c
index 1064a63d97f1d465416aaac2ac3e07f935a14074..5606b8e7c97fbfee38a7de628772b6db35fb32ae 100644
(file)
--- 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;
}