summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 97abc859a0..c043bb6e06 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -4945,7 +4945,7 @@ static void do_smb1_close(struct tevent_req *req)
reply_nterror(smbreq, status);
}
if (!srv_send_smb(smbreq->sconn,
- smbreq->outbuf,
+ (char *)smbreq->outbuf,
true,
smbreq->seqnum+1,
IS_CONN_ENCRYPTED(smbreq->conn)||smbreq->encrypted,