Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14ef5e58 authored by Chen Chen's avatar Chen Chen
Browse files

BluetoothMetrics: cast parameters for BluetoothLocalVersionsReported to avoid compiler ambiguity

Change-Id: I519fb1a46f83ebccfd2b1e52c89c04e657390378
Test: m
Bug: 267371667
Merged-In: I519fb1a46f83ebccfd2b1e52c89c04e657390378
(cherry picked from commit ddd0ced2)
parent b5b9a4c5
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -443,7 +443,12 @@ void LogMetricBluetoothLocalVersions(
    uint8_t hci_version,
    uint32_t hci_revision) {
  int ret = stats_write(
      BLUETOOTH_LOCAL_VERSIONS_REPORTED, lmp_manufacturer_name, lmp_version, lmp_subversion, hci_version, hci_revision);
      BLUETOOTH_LOCAL_VERSIONS_REPORTED,
      static_cast<int32_t>(lmp_manufacturer_name),
      static_cast<int32_t>(lmp_version),
      static_cast<int32_t>(lmp_subversion),
      static_cast<int32_t>(hci_version),
      static_cast<int32_t>(hci_revision));
  if (ret < 0) {
    LOG_WARN(
        "Failed for LogMetricBluetoothLocalVersions, "