mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 17:40:04 +00:00
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:
parent
98d8359fe7
commit
8017028d6b
@ -102,7 +102,7 @@ static unsigned int log_key(void *data)
|
|||||||
return hash;
|
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)
|
if (a == NULL || b == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user