summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-07 14:43:09 +0100
committerVolker Lendecke <vlendec@samba.org>2011-02-14 11:46:50 +0100
commite9f552925d0c007379d81af6ea9b0973011aed80 (patch)
treec55a0bfebeea4a56ac0889b89a52492ff83688fa /source3
parenta6af1efb422e10bb66524fdceb2babaa8ca1bffe (diff)
downloadsamba-e9f552925d0c007379d81af6ea9b0973011aed80.tar.gz
samba-e9f552925d0c007379d81af6ea9b0973011aed80.tar.bz2
samba-e9f552925d0c007379d81af6ea9b0973011aed80.zip
s3: Fix a typed-punned warning
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Feb 14 11:46:50 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd_packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c
index 48d10cc26d..5f900c4816 100644
--- a/source3/nmbd/nmbd_packets.c
+++ b/source3/nmbd/nmbd_packets.c
@@ -497,7 +497,7 @@ struct response_record *queue_register_name( struct subnet_record *subrec,
return NULL;
in_addr_to_sockaddr_storage(&ss, subrec->bcast_ip);
- pss = iface_ip((struct sockaddr *)&ss);
+ pss = iface_ip((struct sockaddr *)(void *)&ss);
if (!pss || pss->ss_family != AF_INET) {
p->locked = False;
free_packet(p);