summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_accounts.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-11-15 14:41:33 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-11-15 15:52:09 -0500
commit3fa7380908997eda5e45c5f4d6b512a954d3bc3c (patch)
tree0ea430faebc0ea1b486b047e4cd87f9d9698a6ec /src/providers/ldap/sdap_async_accounts.c
parent1ebddb7c2498f715f108b8721fa5fc8d4892e14d (diff)
downloadsssd-3fa7380908997eda5e45c5f4d6b512a954d3bc3c.tar.gz
sssd-3fa7380908997eda5e45c5f4d6b512a954d3bc3c.tar.xz
sssd-3fa7380908997eda5e45c5f4d6b512a954d3bc3c.zip
Fix const cast warning for sysdb_update_members
Diffstat (limited to 'src/providers/ldap/sdap_async_accounts.c')
-rw-r--r--src/providers/ldap/sdap_async_accounts.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c
index a4d15d677..9856e7548 100644
--- a/src/providers/ldap/sdap_async_accounts.c
+++ b/src/providers/ldap/sdap_async_accounts.c
@@ -2023,8 +2023,8 @@ static void sdap_initgr_rfc2307_process(struct tevent_req *subreq)
ret = sysdb_update_members(state->sysdb, state->dom, state->name,
SYSDB_MEMBER_USER,
- (const char **)add_groups,
- (const char **)del_groups);
+ (const char *const *)add_groups,
+ (const char *const *)del_groups);
if (ret != EOK) {
tevent_req_error(req, ret);
return;
@@ -3350,8 +3350,8 @@ errno_t save_rfc2307bis_user_memberships(
ret = sysdb_update_members(state->sysdb, state->dom, state->name,
SYSDB_MEMBER_USER,
- (const char **)add_groups,
- (const char **)del_groups);
+ (const char *const *)add_groups,
+ (const char *const *)del_groups);
if (ret != EOK) {
goto error;
}
@@ -3821,8 +3821,8 @@ static errno_t rfc2307bis_nested_groups_update_sysdb(
ret = sysdb_update_members(state->sysdb, state->dom, name,
SYSDB_MEMBER_GROUP,
- (const char **)add_groups,
- (const char **)del_groups);
+ (const char *const *)add_groups,
+ (const char *const *)del_groups);
if (ret != EOK) {
goto error;
}