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:
parent
e661a55044
commit
2dbc10ab6b
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue