diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-11-02 03:02:11 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-11-02 03:02:11 +0000 |
commit | 8f8613ead509896e0291b7462162e63f66154fec (patch) | |
tree | 7f6c27ea790a3e1fca2f4b865fa3c387b0bb6337 | |
parent | 1e4468fc7bb683ad8f4db550e29a6d8c79eb5987 (diff) | |
parent | 2dfaba13270274dfbb5f51063960e872aa06ce77 (diff) | |
download | bt-8f8613ead509896e0291b7462162e63f66154fec.tar.gz |
Merge "legacy: Const-ify bta_csis client API"
-rw-r--r-- | bta/csis/csis_client.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bta/csis/csis_client.cc b/bta/csis/csis_client.cc index c1a3f573b..ba1613207 100644 --- a/bta/csis/csis_client.cc +++ b/bta/csis/csis_client.cc @@ -1080,9 +1080,8 @@ class CsisClientImpl : public CsisClient { p_service_data + service_data_len, (remaining_data_len -= service_data_len), BTM_BLE_AD_TYPE_RSI, &service_data_len))) { - uint8_t* p = (uint8_t*)(p_service_data); RawAddress bda; - STREAM_TO_BDADDR(bda, p); + STREAM_TO_BDADDR(bda, p_service_data); devices.push_back(std::move(bda)); } |