summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-04-13 09:14:44 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-04-29 19:05:04 +0200
commitcc1cf31e55b455f67d846ebe1fe60d305ae2ca11 (patch)
tree7b474659243a029dfcb8b18a3aa3026d38af3ab4 /source4
parentd4a06d5dac813951cff3f76704199ec5b6dc834c (diff)
downloadsamba-cc1cf31e55b455f67d846ebe1fe60d305ae2ca11.tar.gz
samba-cc1cf31e55b455f67d846ebe1fe60d305ae2ca11.tar.bz2
samba-cc1cf31e55b455f67d846ebe1fe60d305ae2ca11.zip
s4:repl_meta_data LDB module - quiet a discard const ptr warning
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
index 646abeb771..90933c4c79 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -2488,7 +2488,7 @@ static int replmd_rename_callback(struct ldb_request *req, struct ldb_reply *are
if (ret == LDB_ERR_REFERRAL) {
struct ldb_dn *olddn = ac->req->op.rename.olddn;
struct loadparm_context *lp_ctx;
- const char *referral;
+ char *referral;
lp_ctx = talloc_get_type(ldb_get_opaque(ldb, "loadparm"),
struct loadparm_context);