summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-09-05 17:07:22 +1000
committerAndrew Tridgell <tridge@samba.org>2011-09-08 03:35:27 +0200
commit1e9573fe4d6204a0c9b790f290e1a3763e2d980f (patch)
tree11a0045b509dfc233402081cbfdcb19df13b2ae3 /source4/dsdb
parent0aa6751e919d842cdae044be26f6da725063eac2 (diff)
downloadsamba-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>
Diffstat (limited to 'source4/dsdb')
-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 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;