git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c23115
)
Fix a type-punned warning
author
Volker Lendecke
<vl@samba.org>
Thu, 14 May 2009 09:47:25 +0000
(11:47 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 14 May 2009 10:15:10 +0000
(12:15 +0200)
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 05de4d4c26e71adf1868c72599ada7b9f2f5ac45..1f73b2f40fcf1a5dee9e8e37d8b93649c1f44332 100644
(file)
--- 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);