From e9e80a36e461a0d07cdc9d1be27e60624133b096 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 21 Jun 2010 08:47:38 +0200 Subject: tldap: Fix a type-punned warning --- source3/lib/tldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 25f39ed8a2..31ca54020a 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -419,7 +419,7 @@ static struct tevent_req *tldap_msg_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } - state->iov.iov_base = blob.data; + state->iov.iov_base = (void *)blob.data; state->iov.iov_len = blob.length; subreq = tstream_writev_queue_send(state, ev, ld->conn, ld->outgoing, -- cgit