diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-05 14:36:55 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-05 23:56:08 +0200 |
commit | f85e095dd29638dcb4819f60a7239bc37e8a41ca (patch) | |
tree | c70e7a3229463d2af4a0a38a033145f46c1889bb /source3/winbindd/winbindd_cache.c | |
parent | 02af3075858814811bc30f03623eb6715f9b7a78 (diff) | |
download | samba-f85e095dd29638dcb4819f60a7239bc37e8a41ca.tar.gz |
More simple const fixups.
Diffstat (limited to 'source3/winbindd/winbindd_cache.c')
-rw-r--r-- | source3/winbindd/winbindd_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 68a86257da..4fa2375152 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -1856,8 +1856,8 @@ static NTSTATUS name_to_sid(struct winbindd_domain *domain, /* Only save the reverse mapping if this was not a UPN */ if (!strchr(name, '@')) { - strupper_m(CONST_DISCARD(char *,domain_name)); - strlower_m(CONST_DISCARD(char *,name)); + strupper_m(discard_const_p(char, domain_name)); + strlower_m(discard_const_p(char, name)); wcache_save_sid_to_name(domain, status, sid, domain_name, name, *type); } } |