diff options
author | Christian Ambach <ambi@samba.org> | 2013-05-27 13:33:24 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-06-21 10:44:18 +0200 |
commit | e211b5c5d248756eb48a60ac05144a346e111a5e (patch) | |
tree | a6bf88f78f42fa1b38fac01b51023008a5215446 /source3/passdb/pdb_samba_dsdb.c | |
parent | e17bc56cafb6a6338b5edda20f53161c0af63a5c (diff) | |
download | samba-e211b5c5d248756eb48a60ac05144a346e111a5e.tar.gz samba-e211b5c5d248756eb48a60ac05144a346e111a5e.tar.bz2 samba-e211b5c5d248756eb48a60ac05144a346e111a5e.zip |
s3:passdb/samba_dsdb fix a compiler warning
about discarding const modifier
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/passdb/pdb_samba_dsdb.c')
-rw-r--r-- | source3/passdb/pdb_samba_dsdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_samba_dsdb.c b/source3/passdb/pdb_samba_dsdb.c index 0ff2e0a6bd..0ff603765d 100644 --- a/source3/passdb/pdb_samba_dsdb.c +++ b/source3/passdb/pdb_samba_dsdb.c @@ -2065,7 +2065,7 @@ static bool pdb_samba_dsdb_sid_to_id(struct pdb_methods *m, const struct dom_sid } ZERO_STRUCT(id_map); - id_map.sid = sid; + id_map.sid = discard_const_p(struct dom_sid, sid); id_maps[0] = &id_map; id_maps[1] = NULL; |