summaryrefslogtreecommitdiff
path: root/lib/ldb/ldb_map/ldb_map.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-08-16 12:56:04 +0000
committerVolker Lendecke <vl@samba.org>2013-08-18 10:26:27 +0200
commit06273504586733ac548ddadad6c7bc757d2d5e25 (patch)
treee001eda7883d526fcf09e67cce6ff1ae88e1d4d6 /lib/ldb/ldb_map/ldb_map.c
parentc8c84b47be6721626dc9a111b186d2b8f658409e (diff)
downloadsamba-06273504586733ac548ddadad6c7bc757d2d5e25.tar.gz
samba-06273504586733ac548ddadad6c7bc757d2d5e25.tar.bz2
samba-06273504586733ac548ddadad6c7bc757d2d5e25.zip
ldb: Fix a const warning
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Sun Aug 18 10:26:27 CEST 2013 on sn-devel-104
Diffstat (limited to 'lib/ldb/ldb_map/ldb_map.c')
-rw-r--r--lib/ldb/ldb_map/ldb_map.c4
1 files changed, 2 insertions, 2 deletions
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;