summaryrefslogtreecommitdiff
path: root/source3/lib/tldap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-21 08:47:38 +0200
committerVolker Lendecke <vl@samba.org>2010-06-21 15:03:59 +0200
commite9e80a36e461a0d07cdc9d1be27e60624133b096 (patch)
treef136826b02b7f46ecaac8541977e5e8b84664da9 /source3/lib/tldap.c
parent4b64555d759c85d8ce471a28f9a4b9210fae59d5 (diff)
downloadsamba-e9e80a36e461a0d07cdc9d1be27e60624133b096.tar.gz
samba-e9e80a36e461a0d07cdc9d1be27e60624133b096.tar.bz2
samba-e9e80a36e461a0d07cdc9d1be27e60624133b096.zip
tldap: Fix a type-punned warning
Diffstat (limited to 'source3/lib/tldap.c')
-rw-r--r--source3/lib/tldap.c2
1 files changed, 1 insertions, 1 deletions
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,