From d9c40172bf3ca4c18da0ddc04b1aad1c36187a30 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 10 Jan 2009 13:04:33 +0100 Subject: Fix a type-punned error --- source3/smbd/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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, -- cgit