SnapshotManager::Return -> Return am: 0850bcab2b am: eae20d7b6b am: fbf3d09daa
Change-Id: I7d49888780f30cb185f1847688c87b461b33ad1e
diff --git a/metrics_reporter_android.cc b/metrics_reporter_android.cc
index 9cef43c..24740c8 100644
--- a/metrics_reporter_android.cc
+++ b/metrics_reporter_android.cc
@@ -100,13 +100,13 @@
android::util::stats_write(
android::util::UPDATE_ENGINE_SUCCESSFUL_UPDATE_REPORTED,
- attempt_count,
+ static_cast<int32_t>(attempt_count),
GetStatsdEnumValue(static_cast<int32_t>(payload_type)),
- payload_size_mib,
- total_bytes_downloaded,
- download_overhead_percentage,
- total_duration.InMinutes(),
- reboot_count);
+ static_cast<int32_t>(payload_size_mib),
+ static_cast<int32_t>(total_bytes_downloaded),
+ static_cast<int32_t>(download_overhead_percentage),
+ static_cast<int32_t>(total_duration.InMinutes()),
+ static_cast<int32_t>(reboot_count));
}
void MetricsReporterAndroid::ReportAbnormallyTerminatedUpdateAttemptMetrics() {