fix(ble_mesh): add type casting for adv data pointer

(cherry picked from commit e4f514ae108538050ff393eb961c1bb0adf8bdac)

Co-authored-by: luoxu <luoxu@espressif.com>
This commit is contained in:
Luo Xu
2025-11-17 21:43:14 +08:00
committed by BLE BOT
parent 6fea5c66ed
commit 777ec2c2b5
@@ -474,7 +474,7 @@ void bt_mesh_ble_ext_adv_report(struct ble_gap_ext_disc_desc *desc)
/* Here, only a shallow copy needs to be implemented;
* deep copying behavior occurs in btc_ble_mesh_ble_copy_req_data. */
adv_rpt.data = desc->length_data ? desc->data : NULL;
adv_rpt.data = desc->length_data ? (uint8_t *)desc->data : NULL;
adv_rpt.event_type = desc->props;
adv_rpt.addr_type = desc->addr.type;