diff options
author | Volker Lendecke <vl@samba.org> | 2009-05-14 11:47:25 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-05-14 12:15:10 +0200 |
commit | 0a5d99ae7ddc6531895a8c34a922d17515f609bc (patch) | |
tree | 5a5ec1e9983340913bada2357014c99fe419fda5 | |
parent | 9c23115cb887cfb8b872b4a28da9d54f44aad5af (diff) | |
download | samba-0a5d99ae7ddc6531895a8c34a922d17515f609bc.tar.gz samba-0a5d99ae7ddc6531895a8c34a922d17515f609bc.tar.bz2 samba-0a5d99ae7ddc6531895a8c34a922d17515f609bc.zip |
Fix a type-punned warning
-rw-r--r-- | source3/smbd/reply.c | 2 |
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); |