summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-10 13:04:33 +0100
committerVolker Lendecke <vl@samba.org>2009-01-10 13:05:35 +0100
commitd9c40172bf3ca4c18da0ddc04b1aad1c36187a30 (patch)
tree29eeaa79c282ec9ec12358ec2c2900a3498275ae /source3/smbd
parent50aa8a4ac8184a9b0feb89f6cb9b6a74e856d126 (diff)
downloadsamba-d9c40172bf3ca4c18da0ddc04b1aad1c36187a30.tar.gz
samba-d9c40172bf3ca4c18da0ddc04b1aad1c36187a30.tar.bz2
samba-d9c40172bf3ca4c18da0ddc04b1aad1c36187a30.zip
Fix a type-punned error
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 4b97612ed4..60e58aac22 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1884,7 +1884,7 @@ static void smbd_server_connection_read_handler(struct smbd_server_connection *c
/* TODO: make this completely nonblocking */
status = receive_smb_talloc(mem_ctx, smbd_server_fd(),
- (char **)&inbuf,
+ (char **)(void *)&inbuf,
0, /* timeout */
&unread_bytes,
&encrypted,