summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/modules
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-15 19:04:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:12 -0500
commita45b4b7b99ed1fd93393ec770edace58502c6810 (patch)
tree8f9b7ff0153fc777e6dfca64e142f3d8f219bed0 /source4/lib/ldb/modules
parent5d91a37002ce4e656100f63368807796c84cdc24 (diff)
downloadsamba-a45b4b7b99ed1fd93393ec770edace58502c6810.tar.gz
samba-a45b4b7b99ed1fd93393ec770edace58502c6810.tar.bz2
samba-a45b4b7b99ed1fd93393ec770edace58502c6810.zip
r12948: fix compiler warning
metze (This used to be commit 157fd2734dfb9b3ac6f6c5ad60bbbd7a50998453)
Diffstat (limited to 'source4/lib/ldb/modules')
-rw-r--r--source4/lib/ldb/modules/asq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/modules/asq.c b/source4/lib/ldb/modules/asq.c
index 70bb019074..5d4a5a3970 100644
--- a/source4/lib/ldb/modules/asq.c
+++ b/source4/lib/ldb/modules/asq.c
@@ -144,7 +144,7 @@ static int asq_search(struct ldb_module *module, struct ldb_request *req)
if (exp_req == NULL)
return LDB_ERR_OPERATIONS_ERROR;
exp_req->operation = LDB_REQ_SEARCH;
- exp_req->op.search.base = ldb_dn_explode(exp_req, el->values[i].data);
+ exp_req->op.search.base = ldb_dn_explode(exp_req, (const char *)el->values[i].data);
if (exp_req->op.search.base == NULL) {
return build_response(res, ASQ_CTRL_INVALID_ATTRIBUTE_SYNTAX);
}