summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-14 11:47:25 +0200
committerVolker Lendecke <vl@samba.org>2009-05-14 12:15:10 +0200
commit0a5d99ae7ddc6531895a8c34a922d17515f609bc (patch)
tree5a5ec1e9983340913bada2357014c99fe419fda5
parent9c23115cb887cfb8b872b4a28da9d54f44aad5af (diff)
downloadsamba-0a5d99ae7ddc6531895a8c34a922d17515f609bc.tar.gz
samba-0a5d99ae7ddc6531895a8c34a922d17515f609bc.tar.bz2
samba-0a5d99ae7ddc6531895a8c34a922d17515f609bc.zip
Fix a type-punned warning
-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);