1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4:repl_meta_data LDB module - quiet a discard const ptr warning

This commit is contained in:
Matthias Dieter Wallnöfer 2011-04-13 09:14:44 +02:00
parent d4a06d5dac
commit cc1cf31e55

View File

@ -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);