summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
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);