Skip to content
Snippets Groups Projects
Commit cd5215df authored by David Duarte's avatar David Duarte Committed by Gerrit Code Review
Browse files

Merge "[Metrics] Cast the parameter for avoiding ambiguity in new atoms"

parents 866a8fa6 4bee35b3
No related branches found
No related tags found
No related merge requests found
...@@ -429,7 +429,8 @@ void LogMetricBluetoothHalCrashReason( ...@@ -429,7 +429,8 @@ void LogMetricBluetoothHalCrashReason(
} }
void LogMetricBluetoothLocalSupportedFeatures(uint32_t page_num, uint64_t features) { void LogMetricBluetoothLocalSupportedFeatures(uint32_t page_num, uint64_t features) {
int ret = stats_write(BLUETOOTH_LOCAL_SUPPORTED_FEATURES_REPORTED, page_num, features); int ret = stats_write(
BLUETOOTH_LOCAL_SUPPORTED_FEATURES_REPORTED, page_num, static_cast<int64_t>(features));
if (ret < 0) { if (ret < 0) {
LOG_WARN( LOG_WARN(
"Failed for LogMetricBluetoothLocalSupportedFeatures, " "Failed for LogMetricBluetoothLocalSupportedFeatures, "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment