From 0a5d99ae7ddc6531895a8c34a922d17515f609bc Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 14 May 2009 11:47:25 +0200 Subject: Fix a type-punned warning --- source3/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 05de4d4c26..1f73b2f40f 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -477,7 +477,7 @@ static bool netbios_session_retarget(const char *name, int name_type) goto fail; } - in_addr = (struct sockaddr_in *)&retarget_addr; + in_addr = (struct sockaddr_in *)(void *)&retarget_addr; _smb_setlen(outbuf, 6); SCVAL(outbuf, 0, 0x84); -- cgit