From e9f552925d0c007379d81af6ea9b0973011aed80 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 7 Feb 2011 14:43:09 +0100 Subject: s3: Fix a typed-punned warning Autobuild-User: Volker Lendecke Autobuild-Date: Mon Feb 14 11:46:50 CET 2011 on sn-devel-104 --- source3/nmbd/nmbd_packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); -- cgit