From 06273504586733ac548ddadad6c7bc757d2d5e25 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 16 Aug 2013 12:56:04 +0000 Subject: ldb: Fix a const warning Signed-off-by: Volker Lendecke Reviewed-by: Simo Sorce Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Sun Aug 18 10:26:27 CEST 2013 on sn-devel-104 --- lib/ldb/ldb_map/ldb_map.c | 4 ++-- lib/ldb/ldb_map/ldb_map_private.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/ldb/ldb_map') diff --git a/lib/ldb/ldb_map/ldb_map.c b/lib/ldb/ldb_map/ldb_map.c index d35e5c604f..d95f050b30 100644 --- a/lib/ldb/ldb_map/ldb_map.c +++ b/lib/ldb/ldb_map/ldb_map.c @@ -869,9 +869,9 @@ static int map_objectclass_convert_operator(struct ldb_module *module, void *mem * ============================== */ /* Build a request to search a record by its DN. */ -struct ldb_request *map_search_base_req(struct map_context *ac, struct ldb_dn *dn, const char * const *attrs, const struct ldb_parse_tree *tree, void *context, ldb_map_callback_t callback) +struct ldb_request *map_search_base_req(struct map_context *ac, struct ldb_dn *dn, const char * const *attrs, struct ldb_parse_tree *tree, void *context, ldb_map_callback_t callback) { - const struct ldb_parse_tree *search_tree; + struct ldb_parse_tree *search_tree; struct ldb_context *ldb; struct ldb_request *req; int ret; diff --git a/lib/ldb/ldb_map/ldb_map_private.h b/lib/ldb/ldb_map/ldb_map_private.h index 7faaa99708..6e4a9dded5 100644 --- a/lib/ldb/ldb_map/ldb_map_private.h +++ b/lib/ldb/ldb_map/ldb_map_private.h @@ -75,7 +75,7 @@ struct ldb_dn *ldb_dn_map_rebase_remote(struct ldb_module *module, void *mem_ctx struct ldb_request *map_search_base_req(struct map_context *ac, struct ldb_dn *dn, const char * const *attrs, - const struct ldb_parse_tree *tree, + struct ldb_parse_tree *tree, void *context, ldb_map_callback_t callback); struct ldb_request *map_build_fixup_req(struct map_context *ac, -- cgit