tests: fix warning related to change in the hash API

The hash_cmp functions need to return bool since commit 74df8d6d9d.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
Renato Westphal 2018-11-02 21:43:35 -02:00
parent 98d8359fe7
commit 8017028d6b

View File

@ -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;