healthd: fix 64-bit build

int64_t needs to be printed with PRId64

Change-Id: If59b60bac71856e4266d459d159a570961e7340a
This commit is contained in:
Colin Cross 2014-07-01 10:56:05 -07:00
parent ecedc9a697
commit d2b5bfa0cd

View file

@ -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)