summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-07-23 13:30:25 -0700
committerJeremy Allison <jra@samba.org>2012-07-24 00:09:46 +0200
commite5a3218b0ee3a1ac55a1f44fa1c939b2d51002e2 (patch)
tree675a23dea09958815b291b99a257e998dc13e031
parent4c1762c3a87021002da35609f455e34516de2324 (diff)
downloadsamba-e5a3218b0ee3a1ac55a1f44fa1c939b2d51002e2.tar.gz
samba-e5a3218b0ee3a1ac55a1f44fa1c939b2d51002e2.tar.bz2
samba-e5a3218b0ee3a1ac55a1f44fa1c939b2d51002e2.zip
Fix compiler warning.
-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,