diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-11-15 15:14:37 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-11-15 15:52:10 -0500 |
commit | e194940b169691939c5c8f2a29754df1c7678a42 (patch) | |
tree | 813cc713db0b1e68a72cefe0fbb3a6d3163484d1 /src/tests | |
parent | 5e4ea20cf1e31ce4fee5cbfa92ea120901a5bd1e (diff) | |
download | sssd-e194940b169691939c5c8f2a29754df1c7678a42.tar.gz sssd-e194940b169691939c5c8f2a29754df1c7678a42.tar.xz sssd-e194940b169691939c5c8f2a29754df1c7678a42.zip |
Fix const cast warnings in tests
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/files-tests.c | 2 | ||||
-rw-r--r-- | src/tests/sysdb-tests.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/files-tests.c b/src/tests/files-tests.c index bd2de545d..7f6b41ed1 100644 --- a/src/tests/files-tests.c +++ b/src/tests/files-tests.c @@ -297,7 +297,7 @@ static Suite *files_suite(void) return s; } -int main(int argc, char *argv[]) +int main(int argc, const char *argv[]) { int number_failed; int opt; diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c index 77409c3ef..797b18d63 100644 --- a/src/tests/sysdb-tests.c +++ b/src/tests/sysdb-tests.c @@ -2720,7 +2720,7 @@ START_TEST(test_odd_characters) struct sysdb_test_ctx *test_ctx; struct ldb_result *res; struct ldb_message *msg; - struct ldb_val *val; + const struct ldb_val *val; const char odd_username[] = "*(odd)\\user,name"; const char odd_groupname[] = "*(odd\\*)\\group,name"; const char odd_netgroupname[] = "*(odd\\*)\\netgroup,name"; |