diff options
-rw-r--r-- | source3/smbd/process.c | 2 |
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, |