diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-09-05 17:07:22 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-09-08 03:35:27 +0200 |
commit | 1e9573fe4d6204a0c9b790f290e1a3763e2d980f (patch) | |
tree | 11a0045b509dfc233402081cbfdcb19df13b2ae3 | |
parent | 0aa6751e919d842cdae044be26f6da725063eac2 (diff) | |
download | samba-1e9573fe4d6204a0c9b790f290e1a3763e2d980f.tar.gz samba-1e9573fe4d6204a0c9b790f290e1a3763e2d980f.tar.bz2 samba-1e9573fe4d6204a0c9b790f290e1a3763e2d980f.zip |
s4-dsdb: fixed compiler warning
sid can be const
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/dsdb/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |