summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-06-26 23:30:42 +0200
committerMichael Adam <obnox@samba.org>2008-07-09 16:00:19 +0200
commit60b303d4c24b333c9b397f86b9381d798b1b6874 (patch)
tree3213be1966b083586706d90d8611fe1893140cd2 /source4
parent1db2c047276fd9ba491c2ae45b81b50c6721b6b2 (diff)
downloadsamba-60b303d4c24b333c9b397f86b9381d798b1b6874.tar.gz
samba-60b303d4c24b333c9b397f86b9381d798b1b6874.tar.xz
samba-60b303d4c24b333c9b397f86b9381d798b1b6874.zip
dsdb: eliminate disards qualifyer compile warning.
Michael (This used to be commit 3b0917dbc5399dc6835b523d762b244bdcf45b79)
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index b98112304c9..a571ae1f793 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -1040,7 +1040,7 @@ const struct dom_sid *samdb_domain_sid(struct ldb_context *ldb)
}
/* cache the domain_sid in the ldb */
- if (ldb_set_opaque(ldb, "cache.domain_sid", domain_sid) != LDB_SUCCESS) {
+ if (ldb_set_opaque(ldb, "cache.domain_sid", discard_const_p(struct dom_sid, domain_sid)) != LDB_SUCCESS) {
goto failed;
}