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 20fdab8667)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user