summaryrefslogtreecommitdiff
path: root/tests/lib/test_srcdest_table.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-11-02 21:43:35 -0200
committerRenato Westphal <renato@opensourcerouting.org>2018-11-26 17:35:58 -0200
commit8017028d6b5e85bbd6f0d54ee9384f1463d631db (patch)
tree61325a92e6055f2eb74e6fc672f242c4ca7feb82 /tests/lib/test_srcdest_table.c
parent98d8359fe710f08753a337911b04612da5218b2b (diff)
tests: fix warning related to change in the hash API
The hash_cmp functions need to return bool since commit 74df8d6d9d6. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'tests/lib/test_srcdest_table.c')
-rw-r--r--tests/lib/test_srcdest_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/test_srcdest_table.c b/tests/lib/test_srcdest_table.c
index 70db69aadf..959358bbec 100644
--- a/tests/lib/test_srcdest_table.c
+++ b/tests/lib/test_srcdest_table.c
@@ -102,7 +102,7 @@ static unsigned int log_key(void *data)
return hash;
}
-static int log_cmp(const void *a, const void *b)
+static bool log_cmp(const void *a, const void *b)
{
if (a == NULL || b == NULL)
return 0;