From a45b4b7b99ed1fd93393ec770edace58502c6810 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 15 Jan 2006 19:04:51 +0000 Subject: [PATCH] r12948: fix compiler warning metze (This used to be commit 157fd2734dfb9b3ac6f6c5ad60bbbd7a50998453) --- source4/lib/ldb/modules/asq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/lib/ldb/modules/asq.c b/source4/lib/ldb/modules/asq.c index 70bb0190746..5d4a5a39700 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); } -- 2.34.1