From 8017028d6b5e85bbd6f0d54ee9384f1463d631db Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Fri, 2 Nov 2018 21:43:35 -0200 Subject: [PATCH] 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 --- tests/lib/test_srcdest_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;