summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/files-tests.c2
-rw-r--r--src/tests/sysdb-tests.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/files-tests.c b/src/tests/files-tests.c
index bd2de545..7f6b41ed 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 77409c3e..797b18d6 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";