From 1e9573fe4d6204a0c9b790f290e1a3763e2d980f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Sep 2011 17:07:22 +1000 Subject: s4-dsdb: fixed compiler warning sid can be const Pair-Programmed-With: Andrew Bartlett --- source4/dsdb/common/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index f64e624dfd..3276ec8019 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -715,7 +715,7 @@ int samdb_find_or_add_attribute(struct ldb_context *ldb, struct ldb_message *msg add a dom_sid element to a message */ int samdb_msg_add_dom_sid(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct ldb_message *msg, - const char *attr_name, struct dom_sid *sid) + const char *attr_name, const struct dom_sid *sid) { struct ldb_val v; enum ndr_err_code ndr_err; -- cgit