diff options
-rw-r--r-- | system/bta/dm/bta_dm_act.cc | 2 | ||||
-rw-r--r-- | system/bta/dm/bta_dm_int.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/system/bta/dm/bta_dm_act.cc b/system/bta/dm/bta_dm_act.cc index ba90f8a720..35c528a56a 100644 --- a/system/bta/dm/bta_dm_act.cc +++ b/system/bta/dm/bta_dm_act.cc @@ -1793,7 +1793,7 @@ static void bta_dm_sdp_callback(tSDP_STATUS sdp_status) { (tBTA_DM_SDP_RESULT*)osi_malloc(sizeof(tBTA_DM_SDP_RESULT)); p_msg->hdr.event = BTA_DM_SDP_RESULT_EVT; - p_msg->sdp_result = static_cast<uint16_t>(sdp_status); + p_msg->sdp_result = sdp_status; bta_sys_sendmsg(p_msg); } diff --git a/system/bta/dm/bta_dm_int.h b/system/bta/dm/bta_dm_int.h index 637c22aef9..fc5b9bc2d5 100644 --- a/system/bta/dm/bta_dm_int.h +++ b/system/bta/dm/bta_dm_int.h @@ -133,7 +133,7 @@ typedef struct { /* data type for BTA_DM_SDP_RESULT_EVT */ typedef struct { BT_HDR_RIGID hdr; - uint16_t sdp_result; + tSDP_RESULT sdp_result; } tBTA_DM_SDP_RESULT; typedef struct { |