summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-11-03 00:43:35 +0100
committerRenato Westphal <renato@opensourcerouting.org>2018-11-26 20:35:58 +0100
commit8017028d6b5e85bbd6f0d54ee9384f1463d631db (patch)
tree61325a92e6055f2eb74e6fc672f242c4ca7feb82 /tests/lib
parentMerge pull request #3351 from chiragshah6/ospfv3_dev (diff)
downloadfrr-8017028d6b5e85bbd6f0d54ee9384f1463d631db.tar.xz
frr-8017028d6b5e85bbd6f0d54ee9384f1463d631db.zip
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')
-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 70db69aad..959358bbe 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;