Bluetooth: BAP: Fix bad cast to void * instead of void for memcpy

The result of memcpy should be cast to (void) and not (void *).

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2025-04-04 14:17:34 +02:00 committed by Benjamin Cabé
commit 2dbc10ab6b

View file

@ -912,7 +912,7 @@ static int scan_delegator_mod_src(struct bt_conn *conn,
}
/* Store requested_bis_sync after everything has been validated */
(void *)memcpy(internal_state->requested_bis_sync, requested_bis_sync,
(void)memcpy(internal_state->requested_bis_sync, requested_bis_sync,
sizeof(requested_bis_sync));
atomic_clear_bit(internal_state->flags, BASS_RECV_STATE_INTERNAL_FLAG_NOTIFY_PEND);