From b08047f82d887d1ea639bbfe97147b46572099d5 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 25 Feb 2019 18:55:37 +0000 Subject: *: return bool from boolean functions Not 1 or 0. Signed-off-by: Quentin Young --- tests/lib/test_srcdest_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib/test_srcdest_table.c') diff --git a/tests/lib/test_srcdest_table.c b/tests/lib/test_srcdest_table.c index 5c0e171778..19a40b2184 100644 --- a/tests/lib/test_srcdest_table.c +++ b/tests/lib/test_srcdest_table.c @@ -105,7 +105,7 @@ static unsigned int log_key(void *data) static bool log_cmp(const void *a, const void *b) { if (a == NULL || b == NULL) - return 0; + return false; return !memcmp(a, b, 2 * sizeof(struct prefix)); } -- cgit v1.2.3