From 59741ddea9b2c298c2cfa5cafc85a3c2e817f2dd Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Thu, 12 Oct 2023 14:10:43 +0000 Subject: [PATCH] Fix undefined behaviour occurrences The undefined behaviour was detected by LLVM 17. Fix the affected functions definitions to match the expected function type. (cherry picked from commit 20fdab866705864f2ca2831554b1ba38d87eb03e) --- tests/isc/netmgr_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/isc/netmgr_test.c b/tests/isc/netmgr_test.c index a20db6b424..1bf959ac19 100644 --- a/tests/isc/netmgr_test.c +++ b/tests/isc/netmgr_test.c @@ -394,7 +394,7 @@ noop_recv_cb(isc_nmhandle_t *handle, isc_result_t eresult, isc_region_t *region, } static unsigned int -noop_accept_cb(isc_nmhandle_t *handle, unsigned int result, void *cbarg) { +noop_accept_cb(isc_nmhandle_t *handle, isc_result_t result, void *cbarg) { UNUSED(handle); UNUSED(cbarg);