summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_wins.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-07 23:07:55 +0200
committerVolker Lendecke <vl@samba.org>2009-05-07 23:38:48 +0200
commit646668bc51d42273a3665bd80bd044287e73bf2a (patch)
tree990519b5340923ab6ceaba49d1238b412619d891 /source3/winbindd/winbindd_wins.c
parent26a9643e456dc39085a93dce231a4e58df361ae9 (diff)
downloadsamba-646668bc51d42273a3665bd80bd044287e73bf2a.tar.gz
samba-646668bc51d42273a3665bd80bd044287e73bf2a.tar.bz2
samba-646668bc51d42273a3665bd80bd044287e73bf2a.zip
Fix some type-punned warnings
Diffstat (limited to 'source3/winbindd/winbindd_wins.c')
-rw-r--r--source3/winbindd/winbindd_wins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_wins.c b/source3/winbindd/winbindd_wins.c
index f9ba13ffda..82bf199f3c 100644
--- a/source3/winbindd/winbindd_wins.c
+++ b/source3/winbindd/winbindd_wins.c
@@ -59,7 +59,7 @@ static int wins_lookup_open_socket_in(void)
/* now we've got a socket - we need to bind it */
- if (bind(res, (struct sockaddr * ) &sock,sizeof(sock)) < 0) {
+ if (bind(res, (struct sockaddr *)(void *)&sock, sizeof(sock)) < 0) {
close(res);
return(-1);
}