diff options
author | Colin Cross <ccross@android.com> | 2014-07-01 10:56:05 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-07-01 10:56:34 -0700 |
commit | d2b5bfa0cdf18c3b8593c777ccfcb1221df4e953 (patch) | |
tree | 6db2b355b10b75ce7a17041908cb932a7aedef26 /healthd | |
parent | ecedc9a6977c69bf742569a450840061c047fa6b (diff) | |
download | system_core-d2b5bfa0cdf18c3b8593c777ccfcb1221df4e953.zip system_core-d2b5bfa0cdf18c3b8593c777ccfcb1221df4e953.tar.gz system_core-d2b5bfa0cdf18c3b8593c777ccfcb1221df4e953.tar.bz2 |
healthd: fix 64-bit build
int64_t needs to be printed with PRId64
Change-Id: If59b60bac71856e4266d459d159a570961e7340a
Diffstat (limited to 'healthd')
-rw-r--r-- | healthd/healthd_mode_charger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/healthd/healthd_mode_charger.cpp b/healthd/healthd_mode_charger.cpp index 43f6640..67d4944 100644 --- a/healthd/healthd_mode_charger.cpp +++ b/healthd/healthd_mode_charger.cpp @@ -360,7 +360,7 @@ static void update_screen_state(struct charger *charger, int64_t now) int batt_cap = get_battery_capacity(); if (batt_cap < SCREEN_ON_BATTERY_THRESH) { - LOGV("[%lld] level %d, leave screen off\n", now, batt_cap); + LOGV("[%" PRId64 "] level %d, leave screen off\n", now, batt_cap); batt_anim->run = false; charger->next_screen_transition = -1; if (charger->charger_connected) |