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

Commit d2b5bfa0 authored by Colin Cross's avatar Colin Cross
Browse files

healthd: fix 64-bit build

int64_t needs to be printed with PRId64

Change-Id: If59b60bac71856e4266d459d159a570961e7340a
parent ecedc9a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)