diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-11-15 14:41:33 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-11-15 15:52:09 -0500 |
commit | 3fa7380908997eda5e45c5f4d6b512a954d3bc3c (patch) | |
tree | 0ea430faebc0ea1b486b047e4cd87f9d9698a6ec /src/tests/sysdb-tests.c | |
parent | 1ebddb7c2498f715f108b8721fa5fc8d4892e14d (diff) | |
download | sssd-3fa7380908997eda5e45c5f4d6b512a954d3bc3c.tar.gz sssd-3fa7380908997eda5e45c5f4d6b512a954d3bc3c.tar.xz sssd-3fa7380908997eda5e45c5f4d6b512a954d3bc3c.zip |
Fix const cast warning for sysdb_update_members
Diffstat (limited to 'src/tests/sysdb-tests.c')
-rw-r--r-- | src/tests/sysdb-tests.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c index f8710a1c..77409c3e 100644 --- a/src/tests/sysdb-tests.c +++ b/src/tests/sysdb-tests.c @@ -2220,7 +2220,7 @@ START_TEST (test_sysdb_update_members) ret = sysdb_update_members(test_ctx->sysdb, test_ctx->domain, user, SYSDB_MEMBER_USER, - (const char **)add_groups, NULL); + (const char *const *)add_groups, NULL); fail_unless(ret == EOK, "Could not add groups"); talloc_zfree(add_groups); @@ -2234,8 +2234,8 @@ START_TEST (test_sysdb_update_members) ret = sysdb_update_members(test_ctx->sysdb, test_ctx->domain, user, SYSDB_MEMBER_USER, - (const char **)add_groups, - (const char **)del_groups); + (const char *const *)add_groups, + (const char *const *)del_groups); fail_unless(ret == EOK, "Group replace failed"); talloc_zfree(add_groups); talloc_zfree(del_groups); @@ -2249,7 +2249,7 @@ START_TEST (test_sysdb_update_members) ret = sysdb_update_members(test_ctx->sysdb, test_ctx->domain, user, SYSDB_MEMBER_USER, NULL, - (const char **)del_groups); + (const char *const *)del_groups); fail_unless(ret == EOK, "Could not remove groups"); talloc_zfree(test_ctx); |