summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-29 14:38:21 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-29 15:34:32 +0100
commite9c40efdcf46cedd5df9679799ecfe391ccd147f (patch)
tree69d16928fa0fbed3df667843cb8fc4d91b067e28
parent6ce63655ef1870afc8a9ee0c5e36346c4e92ee12 (diff)
downloadsamba-e9c40efdcf46cedd5df9679799ecfe391ccd147f.tar.gz
samba-e9c40efdcf46cedd5df9679799ecfe391ccd147f.tar.bz2
samba-e9c40efdcf46cedd5df9679799ecfe391ccd147f.zip
s4:wrepl_server - add a cast on "iov_base"
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 29 15:34:32 CET 2010 on sn-devel-104
-rw-r--r--source4/wrepl_server/wrepl_in_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/wrepl_server/wrepl_in_connection.c b/source4/wrepl_server/wrepl_in_connection.c
index 3e2faa23e5..9d3ddbf0da 100644
--- a/source4/wrepl_server/wrepl_in_connection.c
+++ b/source4/wrepl_server/wrepl_in_connection.c
@@ -241,7 +241,7 @@ static void wreplsrv_call_loop(struct tevent_req *subreq)
goto noreply;
}
- call->out_iov[0].iov_base = call->out.data;
+ call->out_iov[0].iov_base = (char *) call->out.data;
call->out_iov[0].iov_len = call->out.length;
subreq = tstream_writev_queue_send(call,