summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/wrepl/winsrepl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/wrepl/winsrepl.c b/source4/libcli/wrepl/winsrepl.c
index 032be8f79f..83da21700c 100644
--- a/source4/libcli/wrepl/winsrepl.c
+++ b/source4/libcli/wrepl/winsrepl.c
@@ -373,7 +373,7 @@ struct tevent_req *wrepl_request_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- state->req.iov.iov_base = state->req.blob.data;
+ state->req.iov.iov_base = (char *) state->req.blob.data;
state->req.iov.iov_len = state->req.blob.length;
ok = tevent_queue_add(wrepl_socket->request_queue,