summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 105efc2258..484832b200 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1701,7 +1701,7 @@ void smb_request_done(struct smb_request *req)
req->conn = NULL;
}
next->chain_fsp = req->chain_fsp;
- next->inbuf = (uint8_t *)req->inbuf;
+ next->inbuf = req->inbuf;
req = next;
req->conn = switch_message(req->cmd, req);