mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-07-19 18:54:12 -04:00
fix const warning in io_uring_prep_send_set_addr()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
@@ -769,7 +769,7 @@ static inline void io_uring_prep_send_set_addr(struct io_uring_sqe *sqe,
|
||||
const struct sockaddr *dest_addr,
|
||||
__u16 addr_len)
|
||||
{
|
||||
sqe->addr2 = (unsigned long)(void *)dest_addr;
|
||||
sqe->addr2 = (unsigned long)(const void *)dest_addr;
|
||||
sqe->addr_len = addr_len;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user